Skip to content

Commit

Permalink
prevent memory leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
yifei8 authored and andycall committed Oct 25, 2023
1 parent 3e5b6f9 commit b8471b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webf/lib/src/launcher/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ class WebFViewController implements WidgetsBindingObserver {
bindingObject?.dispose();
view.removeBindingObject(pointer);
malloc.free(pointer);
BindingObject.disposeTargetIdToDevNodeIdMap();
}

RenderObject getRootRenderObject() {
Expand Down

0 comments on commit b8471b8

Please sign in to comment.