Revert "android: Fix MPD shutdown from settings UI"
This reverts commit94b5b9f370
. It was not necessary for branch v0.23.x because there, Break() is thread-safe; this was only changed later by commita3b32819b1
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…
Reference in New Issue
Block a user