Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flutter_boost_1.22.4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
flutter_boost_1.22.4
Commits
12ffd101
Commit
12ffd101
authored
Nov 30, 2020
by
Luke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复flutter page 不能及时dispose的问题
parent
15c8ff79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ios/Classes/container/FLBFlutterViewContainer.m
ios/Classes/container/FLBFlutterViewContainer.m
+4
-4
No files found.
ios/Classes/container/FLBFlutterViewContainer.m
View file @
12ffd101
...
...
@@ -172,6 +172,10 @@ static NSUInteger kInstanceCounter = 0;
if
(
!
parent
)
{
//当VC被移出parent时,就通知flutter层销毁page
[
self
notifyWillDealloc
];
if
(
self
.
engine
.
viewController
==
self
)
{
[
self
detatchFlutterEngine
];
}
}
[
super
didMoveToParentViewController
:
parent
];
}
...
...
@@ -303,10 +307,6 @@ static NSUInteger kInstanceCounter = 0;
params:
_params
uniqueId:
self
.
uniqueIDString
];
[
super
bridge_viewDidDisappear
:
animated
];
if
(
self
.
engine
.
viewController
==
self
)
{
[
self
detatchFlutterEngine
];
}
}
-
(
void
)
installSplashScreenViewIfNecessary
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment