From 333857403f01d760d6cf6b80654cf7a734f0ece5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sun, 3 May 2026 19:28:20 +0200 Subject: [PATCH] test/libmpv_common: wait for all clients and player to be destroyed mpv_destroy() only detaches the client, while leaving the player alone. Since this is exit cleanup, we should just wait and quit whole player. --- test/libmpv_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/libmpv_common.h b/test/libmpv_common.h index 1a7754e86f..a692569fdb 100644 --- a/test/libmpv_common.h +++ b/test/libmpv_common.h @@ -54,7 +54,7 @@ static inline void fail(const char *fmt, ...) static inline void exit_cleanup(void) { - mpv_destroy(ctx); + mpv_terminate_destroy(ctx); ctx = NULL; }