From 98f1b5fb9859a7f19d71137a3feae5f0c6031e78 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 15 Sep 2016 13:17:07 +0200 Subject: 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. --- player/main.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'player/main.c') 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); -- cgit v1.2.3