Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 39bd903

Browse files
author
Yuncong Zhang
committed
Fix.
1 parent f46aae4 commit 39bd903

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Runtime/widgets/automatic_keep_alive.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ bool _addClient(KeepAliveNotification notification) {
8181
}
8282

8383
ParentDataElement _getChildElement() {
84+
D.assert(this.mounted);
8485
Element element = (Element) this.context;
8586
Element childElement = null;
8687
element.visitChildren((Element child) => { childElement = child; });

0 commit comments

Comments
 (0)