From 16c91a3f4bd4c97cd39fc307a209ee8186adc6d9 Mon Sep 17 00:00:00 2001 From: Colin Edwards Date: Tue, 19 Dec 2023 22:05:03 -0600 Subject: [PATCH] android: Fix MPD shutdown from settings UI --- src/Main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.cxx b/src/Main.cxx index 521a3afca..4a469bc4f 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -602,7 +602,7 @@ JNIEXPORT void JNICALL Java_org_musicpd_Bridge_shutdown(JNIEnv *, jclass) { if (global_instance != nullptr) - global_instance->Break(); + global_instance->event_loop.InjectBreak(); } gcc_visibility_default