Handle Engine disappearing in-flight when creating new Providers

We seem to have a situation where our Engine is being deleted too early in certain instances, while initialisation is still ongoing, which results in some in-flight deletions of member variables (specifically in this case the hash of Provider instances). This patch postpones the handling of loaded provider files until the event loop is ready for another run, at which point the Engine will have been either entirely deleted, or still entirely alive.


Edited by Dan Leinir Turthra Jensen

Merge request reports