mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Back out 20b67f48676c (bug 778355) because of potential deadlock detected in make check
This commit is contained in:
parent
331d76deeb
commit
4a39fc5bfb
@ -92,6 +92,12 @@ nsWebShellWindow::nsWebShellWindow(PRUint32 aChromeFlags)
|
||||
|
||||
nsWebShellWindow::~nsWebShellWindow()
|
||||
{
|
||||
if (mWindow) {
|
||||
mWindow->SetClientData(0);
|
||||
mWindow->Destroy();
|
||||
mWindow = nullptr; // Force release here.
|
||||
}
|
||||
|
||||
MutexAutoLock lock(mSPTimerLock);
|
||||
if (mSPTimer)
|
||||
mSPTimer->Cancel();
|
||||
|
Loading…
Reference in New Issue
Block a user