diff --git a/src/Main.cxx b/src/Main.cxx index 521a3afca..4a469bc4f 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -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