Commit 41143da2 authored by Yacumima's avatar Yacumima

dev

parent efd7bf15
......@@ -284,7 +284,7 @@ public class BoostFlutterView extends FrameLayout {
if(stateListener != null) {
stateListener.beforeEngineDetach(mFlutterEngine,this);
}
mFlutterView.detachFromFlutterEngine();
//mFlutterView.detachFromFlutterEngine();
mEngineAttached = false;
if(stateListener != null) {
stateListener.afterEngineDetached(mFlutterEngine,this);
......
......@@ -217,8 +217,8 @@ class ContainerCoordinator {
if (Platform.isAndroid) {
try {
final SemanticsOwner owner =
WidgetsBinding.instance.pipelineOwner.semanticsOwner;
final SemanticsNode root = owner.rootSemanticsNode;
WidgetsBinding.instance.pipelineOwner?.semanticsOwner;
final SemanticsNode root = owner?.rootSemanticsNode;
root?.detach();
root?.attach(owner);
} catch (e) {
......
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