android: Fix MPD shutdown from settings UI
This commit is contained in:
parent
a9467513e1
commit
94b5b9f370
|
@ -669,7 +669,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