Commit 58d6a2aa authored by yangwu.jia's avatar yangwu.jia

Add try catch

parent 8e265765
......@@ -32,6 +32,7 @@ import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
......@@ -185,8 +186,13 @@ public abstract class BoostFlutterActivity extends Activity implements IFlutterV
@Override
protected void onDestroy() {
try{
Utils.fixInputMethodManagerLeak(this);
mSyncer.onDestroy();
}catch (Throwable e){
Log.e("BoostFlutterActivity","onDestroy error");
}
super.onDestroy();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment