summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/client.c b/player/client.c
index 14ee8fd7ee..67087eac42 100644
--- a/player/client.c
+++ b/player/client.c
@@ -1662,7 +1662,7 @@ void mp_client_send_property_changes(struct MPContext *mpctx)
struct mpv_handle *ctx = clients->clients[n];
pthread_mutex_lock(&ctx->lock);
- if (!ctx->has_pending_properties) {
+ if (!ctx->has_pending_properties || ctx->destroying) {
pthread_mutex_unlock(&ctx->lock);
continue;
}