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
This commit is contained in:
parent
c5d6aa169f
commit
a654c5d643
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user