mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Unregister ProcessHangMonitor as a hang annotator on shutdown.
This commit is contained in:
parent
db3e9bd7ba
commit
55fed93296
1 changed files with 2 additions and 0 deletions
|
|
@ -323,6 +323,8 @@ HangMonitorChild::Shutdown()
|
|||
{
|
||||
MOZ_RELEASE_ASSERT(NS_IsMainThread());
|
||||
|
||||
BackgroundHangMonitor::UnregisterAnnotator(*this);
|
||||
|
||||
MonitorAutoLock lock(mMonitor);
|
||||
while (!mShutdownDone) {
|
||||
mMonitor.Wait();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue