diff options
Diffstat (limited to 'player')
-rw-r--r-- | player/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/client.c b/player/client.c index 0a64dd855d..49cb866edb 100644 --- a/player/client.c +++ b/player/client.c @@ -335,7 +335,7 @@ void mpv_terminate_destroy(mpv_handle *ctx) mpv_command(ctx, (const char*[]){"quit", NULL}); - if (!ctx->owner) { + if (!ctx->owner || !ctx->mpctx->initialized) { mpv_detach_destroy(ctx); return; } |