summaryrefslogtreecommitdiff
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-03-05 20:20:06 +0100
committerMax Kellermann <max@duempel.org>2016-03-05 20:20:12 +0100
commitce09379baea3e8996078790a461f97b6c9d13c38 (patch)
tree1053dc14a77178b6e922be3dbb7ac5c47ab0de19 /src/Main.cxx
parentb27fb643174d1c7933245970f402353053753f55 (diff)
Main: use Instance::Shutdown()
Diffstat (limited to 'src/Main.cxx')
-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