fix #2771 by invoking jail.callJail in the same thread
This commit is contained in:
parent
591e568e37
commit
6c3c85b9cc
|
@ -6,5 +6,5 @@ ERC20_ENABLED=1
|
|||
OFFLINE_INBOX_ENABLED=1
|
||||
LOG_LEVEL=debug
|
||||
LOG_LEVEL_STATUS_GO=info
|
||||
JSC_ENABLED=0
|
||||
JSC_ENABLED=1
|
||||
QUEUE_MESSAGE_ENABLED=1
|
||||
|
|
|
@ -533,16 +533,11 @@ class StatusModule extends ReactContextBaseJavaModule implements LifecycleEventL
|
|||
return;
|
||||
}
|
||||
|
||||
executor.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
Log.d(TAG, "startCallJail");
|
||||
String res = jail.callJail(chatId, path, params);
|
||||
Log.d(TAG, "endCallJail");
|
||||
callback.invoke(res);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
public void setAdjustResize() {
|
||||
|
|
Loading…
Reference in New Issue