summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Main.cxx2
1 files changed, 1 insertions, 1 deletions
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