From 7777e7710318a73f49560c9ee7a63166d9dcbe6e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 10 Dec 2022 22:33:12 +0100 Subject: Matrix: only delete sock file if we are the process owning the sock file --- src/QuickMedia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index a0324c0..84b6cc4 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -652,7 +652,7 @@ namespace QuickMedia { } done: - if(plugin_name && strcmp(plugin_name, "matrix") == 0) + if(plugin_name && strcmp(plugin_name, "matrix") == 0 && !matrix_instance_already_running) remove_quickmedia_instance_lock(get_cache_dir().join("matrix").data.c_str(), "matrix"); return exit_code; -- cgit v1.2.3