Due to upstream change, relocated re_thread_async_init
This commit is contained in:
@@ -430,8 +430,6 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc
|
|||||||
if (err)
|
if (err)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
re_thread_async_init(ASYNC_WORKERS);
|
|
||||||
|
|
||||||
conf_path_set(path);
|
conf_path_set(path);
|
||||||
|
|
||||||
log_level_set((enum log_level)jLogLevel);
|
log_level_set((enum log_level)jLogLevel);
|
||||||
@@ -443,6 +441,8 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
re_thread_async_init(ASYNC_WORKERS);
|
||||||
|
|
||||||
err = baresip_init(conf_config());
|
err = baresip_init(conf_config());
|
||||||
if (err) {
|
if (err) {
|
||||||
LOGW("baresip_init() failed (%d)\n", err);
|
LOGW("baresip_init() failed (%d)\n", err);
|
||||||
|
|||||||
Reference in New Issue
Block a user