diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-12-10 22:33:12 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-12-10 22:33:12 +0100 |
commit | 7777e7710318a73f49560c9ee7a63166d9dcbe6e (patch) | |
tree | cd1a46135c20e150a2031645935decab47adb881 | |
parent | c567392a7a82040999e2a96b39084c900385ad57 (diff) |
Matrix: only delete sock file if we are the process owning the sock file
-rw-r--r-- | src/QuickMedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |