Closed
Description
GDI resource (Device Context) leaks when using the software renderer code path.
This only happens when the app is using software rasterization, i.e., if the embedder explicitly specifies FlutterRendererType::kSoftware or AngleSurfaceManager::Create() somehow fails.
The leak happens in every frame, so after a while, number of leaks will soon reach the default per-process limit of GDI handles and then the app UI will not be responsive.