mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 955911 - r=roc
This commit is contained in:
parent
c027ca8e7d
commit
7bb587e775
@ -1900,6 +1900,12 @@ MediaStream::ChangeExplicitBlockerCount(int32_t aDelta)
|
||||
}
|
||||
int32_t mDelta;
|
||||
};
|
||||
|
||||
// This can happen if this method has been called asynchronously, and the
|
||||
// stream has been destroyed since then.
|
||||
if (mMainThreadDestroyed) {
|
||||
return;
|
||||
}
|
||||
GraphImpl()->AppendMessage(new Message(this, aDelta));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user