Due to upstream change, relocated re_thread_async_init

This commit is contained in:
Juha Heinanen
2023-02-16 20:58:50 +02:00
parent 48981c3f9e
commit eeec5e8754

View File

@ -430,8 +430,6 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc
if (err)
goto out;
re_thread_async_init(ASYNC_WORKERS);
conf_path_set(path);
log_level_set((enum log_level)jLogLevel);
@ -443,6 +441,8 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc
goto out;
}
re_thread_async_init(ASYNC_WORKERS);
err = baresip_init(conf_config());
if (err) {
LOGW("baresip_init() failed (%d)\n", err);