File tree Expand file tree Collapse file tree 4 files changed +3
-8
lines changed Expand file tree Collapse file tree 4 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ class _MenuAnchorState extends State<MenuAnchor> {
303303 _anchorChildren.clear ();
304304 _menuController._detach (this );
305305 _internalMenuController = null ;
306+ _menuScopeNode.dispose ();
306307 super .dispose ();
307308 }
308309
@@ -551,6 +552,7 @@ class _MenuAnchorState extends State<MenuAnchor> {
551552 }
552553 _closeChildren (inDispose: inDispose);
553554 _overlayEntry? .remove ();
555+ _overlayEntry? .dispose ();
554556 _overlayEntry = null ;
555557 if (! inDispose) {
556558 // Notify that _childIsOpen changed state, but only if not
Original file line number Diff line number Diff line change @@ -1480,6 +1480,7 @@ class FocusManager with DiagnosticableTreeMixin, ChangeNotifier {
14801480 @override
14811481 void dispose () {
14821482 _highlightManager.dispose ();
1483+ rootScope.dispose ();
14831484 super .dispose ();
14841485 }
14851486
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- // Fails with "flutter test --test-randomize-ordering-seed=20230817"
6- @Tags (< String > ['no-shuffle' ])
7- library ;
8-
95import 'package:flutter/material.dart' ;
106import 'package:flutter_test/flutter_test.dart' ;
117import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart' ;
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- // Fails with "flutter test --test-randomize-ordering-seed=20230817"
6- @Tags (< String > ['no-shuffle' ])
7- library ;
8-
95import 'package:flutter/material.dart' ;
106import 'package:flutter_test/flutter_test.dart' ;
117import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart' ;
You can’t perform that action at this time.
0 commit comments