6fbf2e7123606e58e4cf0a10ce021117154ea828
Wraps all FlutterExternalTexture tests in an autorelease pool to ensure resources are cleaned up between tests.
Prior to this change, running these tests via:
../out/host_debug_unopt_arm64/flutter_desktop_darwin_unittests \
--gtest_filter='FlutterEmbedderExternalTextureUnittests.*'
Resuling in a segfault:
[ERROR:flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalSkia.mm(35)]
Could not create Metal command queue.
zsh: segmentation fault
../out/host_debug_unopt_arm64/flutter_desktop_darwin_unittests
Issue: https://github.com/flutter/flutter/issues/104789
Issue: https://github.com/flutter/flutter/issues/127441
Issue: https://github.com/flutter/flutter/issues/124840
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Description
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%