Unverified Commit aa1bacb3 authored by Polina Cherkasova's avatar Polina Cherkasova Committed by GitHub
parent f0bfd7d6
......@@ -303,6 +303,7 @@ class _MenuAnchorState extends State<MenuAnchor> {
_anchorChildren.clear();
_menuController._detach(this);
_internalMenuController = null;
_menuScopeNode.dispose();
super.dispose();
}
......@@ -551,6 +552,7 @@ class _MenuAnchorState extends State<MenuAnchor> {
}
_closeChildren(inDispose: inDispose);
_overlayEntry?.remove();
_overlayEntry?.dispose();
_overlayEntry = null;
if (!inDispose) {
// Notify that _childIsOpen changed state, but only if not
......
......@@ -1480,6 +1480,7 @@ class FocusManager with DiagnosticableTreeMixin, ChangeNotifier {
@override
void dispose() {
_highlightManager.dispose();
rootScope.dispose();
super.dispose();
}
......
......@@ -2,10 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Fails with "flutter test --test-randomize-ordering-seed=20230817"
@Tags(<String>['no-shuffle'])
library;
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart';
......
......@@ -2,10 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Fails with "flutter test --test-randomize-ordering-seed=20230817"
@Tags(<String>['no-shuffle'])
library;
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart';
......
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