diff options
Diffstat (limited to 'player/client.c')
-rw-r--r-- | player/client.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/player/client.c b/player/client.c index d347033fe5..289508447b 100644 --- a/player/client.c +++ b/player/client.c @@ -468,11 +468,16 @@ static void mp_destroy_client(mpv_handle *ctx, bool terminate) } } -void mpv_detach_destroy(mpv_handle *ctx) +void mpv_destroy(mpv_handle *ctx) { mp_destroy_client(ctx, false); } +void mpv_detach_destroy(mpv_handle *ctx) +{ + mpv_destroy(ctx); +} + void mpv_terminate_destroy(mpv_handle *ctx) { mp_destroy_client(ctx, true); |