cocoa_common: uninit fs window properly
In fullscreen `s->window` is the windowed window. So freeing that didn't get rid of the FS window and OpenGL view. Fixes #122 [ci skip]
This commit is contained in:
1 parent
a5b90bde0c
commit
fd7dd83e28
1 file changed
+3
@@ -180,6 +180,9 @@ void vo_cocoa_uninit(struct vo *vo)
|
||||
enable_power_management(vo);
|
||||
[NSApp setPresentationOptions:NSApplicationPresentationDefault];
|
||||
|
||||
if (vo->opts->fs)
|
||||
[[s->view window] release];
|
||||
|
||||
[s->window release];
|
||||
s->window = nil;
|
||||
[s->glContext release];
|
||||
|
||||
Reference in new issue
Block a user