Revert "Unregister ProcessHangMonitor as a hang annotator on shutdown."

This reverts commit 68acc67ddbbd1c7a9577498ad41d079e6b9e3eac.
This commit is contained in:
wolfbeast 2019-03-23 13:10:32 +01:00 committed by Roy Tam
commit 9ce73065ba

View file

@ -323,8 +323,6 @@ HangMonitorChild::Shutdown()
{
MOZ_RELEASE_ASSERT(NS_IsMainThread());
BackgroundHangMonitor::UnregisterAnnotator(*this);
MonitorAutoLock lock(mMonitor);
while (!mShutdownDone) {
mMonitor.Wait();