Bug 114171: Leak nsNativeDragTarget. r+sr=biesi,a19=dbaron
git-svn-id: svn://10.0.0.236/trunk@231351 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5747,6 +5747,11 @@ void nsWindow::OnDestroy()
|
||||
mOnDestroyCalled = PR_TRUE;
|
||||
|
||||
SubclassWindow(FALSE);
|
||||
|
||||
// We have to destroy the native drag target before we null out our
|
||||
// window pointer
|
||||
EnableDragDrop(PR_FALSE);
|
||||
|
||||
mWnd = NULL;
|
||||
|
||||
// free GDI objects
|
||||
|
||||
Reference in New Issue
Block a user