diff --git a/src/Main.cxx b/src/Main.cxx index 7992f7cb7..6b9bdf641 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->event_loop.InjectBreak(); + global_instance->Break(); } gcc_visibility_default