mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
@@ -199,7 +199,8 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents,
|
||||
|
||||
NativeWindowMac::~NativeWindowMac() {
|
||||
if (window())
|
||||
[window() release];
|
||||
// Use autorelease since we may have delegates or observers at this time.
|
||||
[window() autorelease];
|
||||
}
|
||||
|
||||
void NativeWindowMac::Close() {
|
||||
|
||||
Reference in New Issue
Block a user