internal requests while reloading
internal requests while reloading
I am wondering what happens with the internal requests that come while the destroy() and init() functions are executed at reload. Are they postponed until the sequence is done?
It's difficult to speculate on what happens because it depends on the code that is executed. If you run multiple ExtensionController threads (which is likely) all we know is that code might run concurrently so all you need to do is make sure that your init()/destroy() and request handler are thread safe.
Once this is done there's nothing to worry about.
Cheers
Once this is done there's nothing to worry about.
Cheers