Bug 513354 - Destroy the baseWindow on tab destruction, r=bs

This commit is contained in:
Frederic Plourde
2009-11-13 07:43:43 -05:00
parent 8e9f753196
commit f5ead806e2
6 changed files with 16 additions and 5 deletions

View File

@@ -998,6 +998,8 @@ nsFrameLoader::Destroy()
#ifdef MOZ_IPC
if (mChildProcess) {
mChildProcess->SetOwnerElement(nsnull);
ContentProcessParent::GetSingleton()->SendPIFrameEmbeddingDestructor(mChildProcess);
mChildProcess = nsnull;
}
#endif