Skip to content

Commit f14a230

Browse files
committed
Only try to stop monitor if running as first instance
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 12fdb83 commit f14a230

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/effects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4434,7 +4434,7 @@ int effects_finish(int close_client)
44344434
sem_post(&g_postevents_semaphore);
44354435
pthread_join(g_postevents_thread, NULL);
44364436

4437-
if (close_client)
4437+
if (close_client && g_jack_global_client != NULL && strcmp(jack_get_client_name(g_jack_global_client), "mod-host") == 0)
44384438
monitor_client_stop();
44394439

44404440
effects_remove(REMOVE_ALL);

0 commit comments

Comments
 (0)