aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/QuickMedia.cpp2
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;