mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Mac: cefclient: Remove duplicated cleanup code
This commit is contained in:
committed by
Marshall Greenblatt
parent
a1ba0c9166
commit
c3aa36323b
@@ -897,14 +897,6 @@ scoped_refptr<RootWindow> RootWindow::GetForNSWindow(NSWindow* window) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't want any more delegate callbacks after we destroy ourselves.
|
|
||||||
window_.delegate = nil;
|
|
||||||
// Delete the window.
|
|
||||||
#if !__has_feature(objc_arc)
|
|
||||||
[window autorelease];
|
|
||||||
#endif // !__has_feature(objc_arc)
|
|
||||||
window_ = nil;
|
|
||||||
|
|
||||||
// Clean ourselves up after clearing the stack of anything that might have the
|
// Clean ourselves up after clearing the stack of anything that might have the
|
||||||
// window on it.
|
// window on it.
|
||||||
[self cleanup];
|
[self cleanup];
|
||||||
|
Reference in New Issue
Block a user