mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
652036509d
Even though a class may not be multi-threaded, its object references can still be passed to different threads. As long as the references are not accessed, we should allow it, and therefore GlobalRef should use GetEnvForThread for ref/unref, instead of using FindEnv, which can trigger assertions on non-main threads. |
||
---|---|---|
.. | ||
Accessors.h | ||
moz.build | ||
Natives.h | ||
Refs.h | ||
Types.h | ||
Utils.cpp | ||
Utils.h |