mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Bug 868406. Shut down MediaStreamGraph's thread. r=jesup
--HG-- extra : rebase_source : 0d5801b271d1658dba172cb5b156186052651990
This commit is contained in:
parent
7e20e1ed1a
commit
2d103b824c
@ -1139,6 +1139,8 @@ public:
|
||||
NS_ASSERTION(mGraph->mDetectedNotRunning,
|
||||
"We should know the graph thread control loop isn't running!");
|
||||
|
||||
mGraph->ShutdownThreads();
|
||||
|
||||
// mGraph's thread is not running so it's OK to do whatever here
|
||||
if (mGraph->IsEmpty()) {
|
||||
// mGraph is no longer needed, so delete it. If the graph is not empty
|
||||
|
Loading…
Reference in New Issue
Block a user