diff --git a/src/Main.cxx b/src/Main.cxx index 6b9bdf641..7992f7cb7 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -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