Commit a33d3c92 authored by justin's avatar justin

防止空指针

parent 474cc58d
...@@ -74,6 +74,8 @@ public class FlutterViewContainerManager implements IContainerManager { ...@@ -74,6 +74,8 @@ public class FlutterViewContainerManager implements IContainerManager {
} }
void popRecord(IContainerRecord record) { void popRecord(IContainerRecord record) {
if(mRecordStack.empty()) return;
if(mRecordStack.peek() == record) { if(mRecordStack.peek() == record) {
mRecordStack.pop(); mRecordStack.pop();
} }
......
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