зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1524648 - Relax assertion in MediaEngineWebRTCMicrophoneSource::Deallocate to take into account the fact that starting the device can have failed. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D18979 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
45f1a56cd2
Коммит
1711340313
|
@ -443,7 +443,7 @@ nsresult MediaEngineWebRTCMicrophoneSource::Deallocate(
|
|||
const RefPtr<const AllocationHandle>&) {
|
||||
AssertIsOnOwningThread();
|
||||
|
||||
MOZ_ASSERT(mState == kStopped);
|
||||
MOZ_ASSERT(mState == kStopped || mState == kAllocated);
|
||||
|
||||
class EndTrackMessage : public ControlMessage {
|
||||
public:
|
||||
|
|
Загрузка…
Ссылка в новой задаче