Main: use Instance::Shutdown()
This commit is contained in:
parent
b27fb64317
commit
ce09379bae
@ -756,7 +756,7 @@ JNIEXPORT void JNICALL
|
|||||||
Java_org_musicpd_Bridge_shutdown(JNIEnv *, jclass)
|
Java_org_musicpd_Bridge_shutdown(JNIEnv *, jclass)
|
||||||
{
|
{
|
||||||
if (instance != nullptr)
|
if (instance != nullptr)
|
||||||
instance->event_loop->Break();
|
instance->Shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user