Main: use Instance::Shutdown()

This commit is contained in:
Max Kellermann 2016-03-05 20:20:06 +01:00
parent b27fb64317
commit ce09379bae

View File

@ -756,7 +756,7 @@ JNIEXPORT void JNICALL
Java_org_musicpd_Bridge_shutdown(JNIEnv *, jclass)
{
if (instance != nullptr)
instance->event_loop->Break();
instance->Shutdown();
}
#endif