Skip to content

Commit

Permalink
Fix leak in a test. (#147846)
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c authored May 6, 2024
1 parent d498e68 commit 5bac0de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/flutter/test/gestures/tap_and_drag_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ void main() {
..onCancel = () {
events.add('pancancel');
};
addTearDown(pans.dispose);

final TestPointer pointer = TestPointer(5);
final PointerDownEvent downB = pointer.down(const Offset(10.0, 10.0));
Expand Down

0 comments on commit 5bac0de

Please sign in to comment.