From 94b5b9f370210674bbfeed6074fab7a3856f2a5b 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 6b9bdf641..7992f7cb7 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -669,7 +669,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