[X2Go-Commits] [pale-moon] 162/294: Unregister ProcessHangMonitor as a hang annotator on shutdown.

git-admin at x2go.org git-admin at x2go.org
Sat Apr 27 08:58:03 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch upstream/28.5.0
in repository pale-moon.

commit 68acc67ddbbd1c7a9577498ad41d079e6b9e3eac
Author: Nika Layzell <nika at thelayzells.com>
Date:   Sat Mar 23 12:56:19 2019 +0100

    Unregister ProcessHangMonitor as a hang annotator on shutdown.
---
 dom/ipc/ProcessHangMonitor.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dom/ipc/ProcessHangMonitor.cpp b/dom/ipc/ProcessHangMonitor.cpp
index d46a1f5..406d0bf 100644
--- a/dom/ipc/ProcessHangMonitor.cpp
+++ b/dom/ipc/ProcessHangMonitor.cpp
@@ -323,6 +323,8 @@ HangMonitorChild::Shutdown()
 {
   MOZ_RELEASE_ASSERT(NS_IsMainThread());
 
+  BackgroundHangMonitor::UnregisterAnnotator(*this);
+
   MonitorAutoLock lock(mMonitor);
   while (!mShutdownDone) {
     mMonitor.Wait();

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git


More information about the x2go-commits mailing list