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.
This commit is contained in:
wm4 2016-09-15 13:17:07 +02:00
parent 1b5b23b948
commit 98f1b5fb98
1 changed files with 0 additions and 2 deletions

View File

@ -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);