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.
This commit is contained in:
1 parent
948c86d24c
commit
333857403f
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user