mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 16:51:46 +00:00
Bug 1460346 - Assert in SetCurrentDriver method of MSG that is called from audio thread or when the thread is not running. r=pehrsons
MozReview-Commit-ID: 7JKcFxxDFCt --HG-- extra : rebase_source : fe8d0b043117f3b5ecfe3ae36addae340c795875
This commit is contained in:
parent
cd6f5298c4
commit
43f81a73ac
@ -480,6 +480,7 @@ public:
|
||||
*/
|
||||
void SetCurrentDriver(GraphDriver* aDriver)
|
||||
{
|
||||
MOZ_ASSERT(mDriver->OnThread() || !mDriver->ThreadRunning());
|
||||
#ifdef DEBUG
|
||||
mMonitor.AssertCurrentThreadOwns();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user