On 16/05/2013 20:12, Ehsan Akhgari wrote:
If OS.File can detect shutdown at the correct time, then it seems like
all of the above issues are going to be easy to fix.  Which makes me
think of all of these as one use case (please correct me if I'm wrong.)

David prepared a patch for bug 845190 which would fix shutdown problems for OS.File worker threads that would already have been properly loaded by the time ShutdownXPCOM() is invoked. The trouble is that some workers might be loaded after that and so it's impossible to work around the issue within OS.File code. The only quick fix would be using yet another event for shutdown as you suggested.

If we go down that road we should at least find a way to document what every event is for. I remember seeing a wiki page some time ago on the topic but I'm not even sure if it contained up-to-date information or not.

 Gabriele
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to