mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 04:35:33 +00:00
1adc0f5ef7
OS.File requests like OS.File.stat would potentially be lost on b2g during auto-shutdown/auto-killing of the worker thread. This patch corrects the queue management so races with killing are not possible. A test is added that fails without the fix and passes with it. See the comments in the test and test for further details. Also, the bug is nice. |
||
---|---|---|
.. | ||
modules | ||
tests | ||
moz.build | ||
NativeOSFileInternals.cpp | ||
NativeOSFileInternals.h | ||
nsINativeOSFileInternals.idl | ||
osfile.jsm |