author Valentin Gosu <>
Tue, 17 Sep 2019 11:38:49 +0000
changeset 551932 60219e1b3b2af2451a79cacb077797d1138e2292
parent 143364 a16036888ff3bc93c0c8df5110cba9ec8c396772
permissions -rw-r--r--
Bug 1576386 - Set a 2 second timeout when shutting down the Link Monitor thread r=mayhemer a=RyanVM The thread calls into some windows APIs that may sometimes block for a long time. Since we're shutting down anyway, it is OK to sometimes leak this thread, similar to what we do for DNS resolver threads. The patch converts nsNotifyAddrListener::mThread to a nsIThreadPool (with a max of 1 thread) so that we may call shutdownWithTimeout on it. Differential Revision:

<html style="-moz-column-width: 1px;"><head>


<body><div style="position: relative; -moz-column-count: 6;"><div style="position: absolute; height: 9px;"></div><div style="height: 9px;"></div></div></body></html>