From 3f40cee8cab41dc52db9e403b79ef35997cecb40 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Thu, 9 Jun 2022 11:54:36 +0300 Subject: [PATCH] No need to enter/leave re thread at mqueue_push --- app/src/main/cpp/baresip.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/cpp/baresip.c b/app/src/main/cpp/baresip.c index f6719409..e7894331 100644 --- a/app/src/main/cpp/baresip.c +++ b/app/src/main/cpp/baresip.c @@ -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