summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-15 13:17:07 +0200
committerwm4 <wm4@nowhere>2016-09-15 13:17:07 +0200
commit98f1b5fb9859a7f19d71137a3feae5f0c6031e78 (patch)
tree0abed5c336c26ba20307007de5ef2d470ace7a89 /player
parent1b5b23b94849b18bedd458fd83741fa07d840c7b (diff)
downloadmpv-98f1b5fb9859a7f19d71137a3feae5f0c6031e78.tar.bz2
mpv-98f1b5fb9859a7f19d71137a3feae5f0c6031e78.tar.xz
player: remove unintended !mingw ifdef for IPC uninit
Just wow. This function is implemented in ipc-win.c, and was surely be meant to be called. But it wasn't called. This could in theory cause crashes during exit if IPC clients were active. Untested whether it really works.
Diffstat (limited to 'player')
-rw-r--r--player/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/player/main.c b/player/main.c
index 2f53f4daee..8beb4f8b9a 100644
--- a/player/main.c
+++ b/player/main.c
@@ -195,10 +195,8 @@ static void shutdown_clients(struct MPContext *mpctx)
void mp_destroy(struct MPContext *mpctx)
{
-#if !defined(__MINGW32__)
mp_uninit_ipc(mpctx->ipc_ctx);
mpctx->ipc_ctx = NULL;
-#endif
shutdown_clients(mpctx);