Flutter windows application doesn't run anymore in the latest flutter version. Funny enough this is only in release mode, not in debug mode.
It shows the following errors
ERR: SwapChain11.cpp:636 (reset): Could not create additional swap chains or offscreen surfaces, HRESULT: 0x80070057
ERR: SwapChain11.cpp:636 (reset): Could not create additional swap chains or offscreen surfaces, HRESULT: 0x80070057
[ERROR:flutter/shell/platform/windows/egl/egl.cc(57)] EGL Error: Bad Alloc (12291) Surface creation failed.
You don't even need to have any bitsdojo_window imported in the project. Just having a simple Hello World application with bitsdojo_window in the pubspec.yaml breaks it.