Revert "android: Fix MPD shutdown from settings UI"

This reverts commit 94b5b9f370.  It was
not necessary for branch v0.23.x because there, Break() is
thread-safe; this was only changed later by commit
a3b32819b1
This commit is contained in:
Max Kellermann 2023-12-20 16:15:08 +01:00
parent c5d6aa169f
commit a654c5d643

View File

@ -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