зеркало из https://github.com/mozilla/pjs.git
Fix leak of gViewManagers nsVoidArray. r=roc+moz@cs.cmu.edu sr=brendan@mozilla.org b=58965
This commit is contained in:
Родитель
0faff5bb11
Коммит
03855ea1ce
|
@ -417,6 +417,7 @@ nsViewManager::~nsViewManager()
|
|||
// release the global array of view managers
|
||||
|
||||
NS_ASSERTION(gViewManagers != nsnull, "About to delete null gViewManagers");
|
||||
delete gViewManagers;
|
||||
gViewManagers = nsnull;
|
||||
|
||||
// Cleanup all of the offscreen drawing surfaces if the last view manager
|
||||
|
|
Загрузка…
Ссылка в новой задаче