No need to enter/leave re thread at mqueue_push

This commit is contained in:
Juha Heinanen
2022-06-09 11:54:36 +03:00
parent ec8119c3f2
commit 3f40cee8ca

View File

@ -584,10 +584,7 @@ JNIEXPORT void JNICALL
Java_com_tutpro_baresip_BaresipService_baresipStop(JNIEnv *env, jobject thiz, jboolean force)
{
LOGD("ua_stop_all upon baresipStop");
re_thread_enter();
mqueue_push(mq, ID_UA_STOP_ALL, (void *)((long)force));
re_thread_leave();
}
JNIEXPORT jstring JNICALL