Repository navigation
The five-second close on Windows, fixed. Linux was never affected. Both installers, the portable zip, the .deb and the AppImage are below with SHA256SUMS.
Fixed
- Closing the window on Windows took over five seconds, with the window
still on screen the whole time. The Flutter template'sFlutterWindow
destructor lets its engine controller die as a plain member, and a
unique_ptrdestructor does not clear the pointer first — so messages
arriving during the teardown were handed to a half-destroyed engine. The
template'sWM_DESTROYpath nulls the pointer explicitly; the plugin call
the shell left by (window_manager.destroy(), a barePostQuitMessage)
skipped that path. The destructor now resets the pointer itself, and the
shell leaves byclose()so the stock path runs. Measured on the reference
machine withtool/exit_timing/measure_exit.ps1: 5.1–5.9 s before, the
window hidden at ~90 ms and the process gone at ~120–180 ms after
(doc 03, "App exit"). - Exit is now an explicit, bounded sequence (doc 03): write everything, ask
the watchers to stop and wait for them within a bound, release the
single-instance lock, hide, close. A step that does not answer is named in
the diagnostic log and the exit goes on; nothing on disk depends on it. - A setting changed in the quarter second before exit was lost. Doc 05 said
disposal flushed it, and nothing disposed anything on the real exit path. - The watchers were never asked to stop on exit; on Windows each is an isolate,
and one nobody asks is torn down by the VM instead. Now asked, and awaited. - Two clicks on the close button started two shutdowns. A second close now
joins the first.
What's Changed
- ci: Bump actions/checkout from 5.1.0 to 7.0.1 by @dependabot[bot] in #5
- ci: Bump actions/upload-artifact from 5.0.0 to 7.0.1 by @dependabot[bot] in #3
- ci: Bump actions/download-artifact from 5.0.0 to 8.0.1 by @dependabot[bot] in #4
- fix(app): the five-second close on Windows, and v1.0.1 by @poli0981 in #6
New Contributors
- @dependabot[bot] made their first contribution in #5
Full Changelog: v1.0.0...v1.0.1