mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fixes https://github.com/flutter/flutter/issues/156434. A better fix for the workaround in https://github.com/flutter/flutter/issues/156158. This should likely be cherrypicked, as it's a memory leak, safe, and avoids workaround code in plugins.