mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Bug 114171: Leak nsNativeDragTarget. r+sr=biesi,a19=dbaron
This commit is contained in:
parent
6c6b9fe691
commit
a61c322650
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user