Merge branch 'android_shutdown' of https://github.com/DDRBoxman/MPD

This commit is contained in:
Max Kellermann 2023-12-20 10:54:35 +01:00
commit 22dbfec126

View File

@ -602,7 +602,7 @@ JNIEXPORT void JNICALL
Java_org_musicpd_Bridge_shutdown(JNIEnv *, jclass) Java_org_musicpd_Bridge_shutdown(JNIEnv *, jclass)
{ {
if (global_instance != nullptr) if (global_instance != nullptr)
global_instance->Break(); global_instance->event_loop.InjectBreak();
} }
gcc_visibility_default gcc_visibility_default