From eddf432961b4ce3cb835506bdcd80ecc00daaefc Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Sat, 29 Apr 2023 12:50:50 +0300 Subject: [PATCH] Added debug argument to re_thread_check --- app/src/main/cpp/baresip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/baresip.c b/app/src/main/cpp/baresip.c index 3b17b5f4..8fbd5b0f 100644 --- a/app/src/main/cpp/baresip.c +++ b/app/src/main/cpp/baresip.c @@ -1058,7 +1058,7 @@ Java_com_tutpro_baresip_Api_ua_1hangup(JNIEnv *env, jobject thiz, jlong ua, jlon { const uint16_t native_code = code; const char *native_reason = (*env)->GetStringUTFChars(env, reason, 0); - const int thread_check = re_thread_check(); + const int thread_check = re_thread_check(false); LOGD("hanging up call %ld/%ld\n", (long)ua, (long)call); if (thread_check != 0) re_thread_enter();