Page 1 of 1
internal requests while reloading
Posted: 04 Jan 2012, 12:39
by Hygiliak
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?
Posted: 05 Jan 2012, 14:09
by Lapo
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
Posted: 06 Jan 2012, 09:39
by Hygiliak
Thanks for the advice
Cheers