Bug 955911 - r=roc

This commit is contained in:
Paul Adenot 2014-01-13 17:38:30 +01:00
parent c027ca8e7d
commit 7bb587e775

View File

@ -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));
}