android: Fix MPD shutdown from settings UI
This commit is contained in:
parent
906d58a918
commit
16c91a3f4b
|
@ -602,7 +602,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
|
||||
|
|
Loading…
Reference in New Issue