summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-03-09 11:27:46 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-03-15 00:00:04 -0700
commit03791fae163591951b2b8208fe6b0b6c95d8ae77 (patch)
tree59d671ffdbe345d0ffce209abadc797e6d968ef9 /osdep
parent4d9c6ab6b9b9c5436f5ee52f56aee304da4b20b1 (diff)
downloadmpv-03791fae163591951b2b8208fe6b0b6c95d8ae77.tar.bz2
mpv-03791fae163591951b2b8208fe6b0b6c95d8ae77.tar.xz
all: replace mpv_detach_destroy() with mpv_destroy()
Diffstat (limited to 'osdep')
-rw-r--r--osdep/macosx_events.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/macosx_events.m b/osdep/macosx_events.m
index fef7e95053..0d46c0e906 100644
--- a/osdep/macosx_events.m
+++ b/osdep/macosx_events.m
@@ -314,7 +314,7 @@ void cocoa_set_mpv_handle(struct mpv_handle *ctx)
});
return YES;
} else {
- mpv_detach_destroy(ctx);
+ mpv_destroy(ctx);
return NO;
}
}
@@ -343,7 +343,7 @@ void cocoa_set_mpv_handle(struct mpv_handle *ctx)
if ([(Application *)NSApp cocoaCB].isShuttingDown)
return;
#endif
- mpv_detach_destroy(_ctx);
+ mpv_destroy(_ctx);
_ctx = nil;
break;
}