Fix crash when releasing window
This commit is contained in:
parent
2b5bde4071
commit
d706a30849
1 changed files with 1 additions and 1 deletions
|
@ -1708,7 +1708,7 @@ void NativeWindowMac::SetVibrancy(const std::string& type) {
|
|||
return;
|
||||
}
|
||||
|
||||
background_color_before_vibrancy_.reset([window_ backgroundColor]);
|
||||
background_color_before_vibrancy_.reset([[window_ backgroundColor] retain]);
|
||||
transparency_before_vibrancy_ = [window_ titlebarAppearsTransparent];
|
||||
ui::GpuSwitchingManager::SetTransparent(true);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue