From a654c5d643cf1f31263d54d730300d678b942bad Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 20 Dec 2023 16:15:08 +0100 Subject: [PATCH] Revert "android: Fix MPD shutdown from settings UI" This reverts commit 94b5b9f370210674bbfeed6074fab7a3856f2a5b. It was not necessary for branch v0.23.x because there, Break() is thread-safe; this was only changed later by commit a3b32819b1578a261c1cc40cc384c8af3ed8fb0f --- src/Main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.cxx b/src/Main.cxx index 7992f7cb7..6b9bdf641 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->event_loop.InjectBreak(); + global_instance->Break(); } gcc_visibility_default