зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1442404: Don't spin STS when shutting down the mtransport thread. r=drno
MozReview-Commit-ID: 47BImEsl9xi --HG-- extra : rebase_source : 9fd820f4db145642f1184264ae991ea0748b0479
This commit is contained in:
Родитель
e43399c28e
Коммит
a5fa4c3bfb
|
@ -233,7 +233,7 @@ public:
|
||||||
// in-use -> idle -- no one forcing it to remain instantiated
|
// in-use -> idle -- no one forcing it to remain instantiated
|
||||||
r_log(LOG_GENERIC,LOG_DEBUG,"Shutting down wrapped SingletonThread %p",
|
r_log(LOG_GENERIC,LOG_DEBUG,"Shutting down wrapped SingletonThread %p",
|
||||||
mThread.get());
|
mThread.get());
|
||||||
mThread->Shutdown();
|
mThread->AsyncShutdown();
|
||||||
mThread = nullptr;
|
mThread = nullptr;
|
||||||
// It'd be nice to use a timer instead... But be careful of
|
// It'd be nice to use a timer instead... But be careful of
|
||||||
// xpcom-shutdown-threads in that case
|
// xpcom-shutdown-threads in that case
|
||||||
|
|
Загрузка…
Ссылка в новой задаче