internal requests while reloading

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
Hygiliak
Posts: 8
Joined: 15 Apr 2011, 18:47

internal requests while reloading

Post 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?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post 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
Lapo
--
gotoAndPlay()
...addicted to flash games
Hygiliak
Posts: 8
Joined: 15 Apr 2011, 18:47

Post by Hygiliak »

Thanks for the advice :D

Cheers
Post Reply