summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-23 13:10:32 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-23 13:10:32 +0100
commit1709b8a59ceb96f350598699d0ae8326c0bf0778 (patch)
tree56d14be5b7957b86671bb82307f6b7e3a09a6842
parent5ddaf2aef8cb71ec6692f2522b1c628196c6f05b (diff)
downloadUXP-1709b8a59ceb96f350598699d0ae8326c0bf0778.tar
UXP-1709b8a59ceb96f350598699d0ae8326c0bf0778.tar.gz
UXP-1709b8a59ceb96f350598699d0ae8326c0bf0778.tar.lz
UXP-1709b8a59ceb96f350598699d0ae8326c0bf0778.tar.xz
UXP-1709b8a59ceb96f350598699d0ae8326c0bf0778.zip
Revert "Unregister ProcessHangMonitor as a hang annotator on shutdown."
This reverts commit 68acc67ddbbd1c7a9577498ad41d079e6b9e3eac.
-rw-r--r--dom/ipc/ProcessHangMonitor.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/dom/ipc/ProcessHangMonitor.cpp b/dom/ipc/ProcessHangMonitor.cpp
index 406d0bf0a..d46a1f5d5 100644
--- a/dom/ipc/ProcessHangMonitor.cpp
+++ b/dom/ipc/ProcessHangMonitor.cpp
@@ -323,8 +323,6 @@ HangMonitorChild::Shutdown()
{
MOZ_RELEASE_ASSERT(NS_IsMainThread());
- BackgroundHangMonitor::UnregisterAnnotator(*this);
-
MonitorAutoLock lock(mMonitor);
while (!mShutdownDone) {
mMonitor.Wait();