mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
Bug 297636, crash on dnd to self-closing window, r+sr=roc
This commit is contained in:
parent
77ef5fd4d9
commit
b8f73f5f01
@ -457,6 +457,11 @@ nsWindow::Destroy(void)
|
||||
mThebesSurface = nsnull;
|
||||
#endif
|
||||
|
||||
if (mDragMotionTimerID) {
|
||||
gtk_timeout_remove(mDragMotionTimerID);
|
||||
mDragMotionTimerID = 0;
|
||||
}
|
||||
|
||||
if (mShell) {
|
||||
gtk_widget_destroy(mShell);
|
||||
mShell = nsnull;
|
||||
|
Loading…
x
Reference in New Issue
Block a user