diff --git a/src/Main.cxx b/src/Main.cxx index 072e2e4e0..d3cb97fd2 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -756,7 +756,7 @@ JNIEXPORT void JNICALL Java_org_musicpd_Bridge_shutdown(JNIEnv *, jclass) { if (instance != nullptr) - instance->event_loop->Break(); + instance->Shutdown(); } #endif