diff --git a/dom/media/MediaStreamGraph.cpp b/dom/media/MediaStreamGraph.cpp index 76cb9b26a..eeeaba5eb 100644 --- a/dom/media/MediaStreamGraph.cpp +++ b/dom/media/MediaStreamGraph.cpp @@ -1497,10 +1497,6 @@ MediaStreamGraphImpl::RunInStableState(bool aSourceIsMSG) RefPtr driver = CurrentDriver(); MonitorAutoUnlock unlock(mMonitor); driver->Start(); - // It's not safe to Shutdown() a thread from StableState, and - // releasing this may shutdown a SystemClockDriver thread. - // Proxy the release to outside of StableState. - NS_ReleaseOnMainThread(driver.forget(), true); // always proxy } }