Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit fab11aa

Browse files
committed
Add missing MouseCursorPlugin destroy call
Fixes flutter/flutter#61558
1 parent e3b29f2 commit fab11aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shell/platform/android/io/flutter/embedding/android/FlutterView.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,8 @@ public void detachFromFlutterEngine() {
936936
textInputPlugin.getInputMethodManager().restartInput(this);
937937
textInputPlugin.destroy();
938938

939+
mouseCursorPlugin.destroy();
940+
939941
// Instruct our FlutterRenderer that we are no longer interested in being its RenderSurface.
940942
FlutterRenderer flutterRenderer = flutterEngine.getRenderer();
941943
isFlutterUiDisplayed = false;

0 commit comments

Comments
 (0)