android: Fix MPD shutdown from settings UI

This commit is contained in:
Colin Edwards 2023-12-19 22:05:03 -06:00 committed by Max Kellermann
parent a9467513e1
commit 94b5b9f370
1 changed files with 1 additions and 1 deletions

View File

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