RustDesk/flutter/lib
julian 2061db10fc fix(linux): guard window queries during close to prevent SIGSEGV
When a RustDesk window is closing on Linux, the window_manager plugin's
get_window() can return null during widget destruction. The Flutter code
called saveWindowPosition/saveFrameState without checking if the window
was still valid, causing SIGSEGV crashes.

Changes:
- Guard saveWindowPosition() and saveFrameState() calls during close
- Add null checks before window geometry queries in tabbar_widget.dart
- Wrap common.dart window operations with validity checks

Companion PR: rustdesk-org/window_manager fix/linux-nullptr-guards-sigsegv
  — adds C++ nullptr guards in the plugin that this Flutter code depends on.
  Both PRs are needed together to fully resolve the SIGSEGV crashes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-01 07:00:36 +08:00
..
common fix(iPad): keep touch gestures with external mouse (#14652) 2026-04-27 19:44:35 +08:00
desktop fix(linux): guard window queries during close to prevent SIGSEGV 2026-05-01 07:00:36 +08:00
mobile fix(iPad): keep touch gestures with external mouse (#14652) 2026-04-27 19:44:35 +08:00
models fix: iPad mouse down detection for physical mouse input (#14515) 2026-04-28 15:03:41 +08:00
native fix: web, reset cursor on disconn, back to main page (#9192) 2024-08-27 23:58:04 +08:00
plugin refact: optimize, ID search peers (#10853) 2025-02-20 18:31:12 +08:00
utils feat: Add relative mouse mode (#13928) 2026-01-09 10:03:14 +08:00
web refactor per code review 2026-04-22 01:41:13 +08:00
common.dart fix(linux): guard window queries during close to prevent SIGSEGV 2026-05-01 07:00:36 +08:00
consts.dart fix(mobile): deeplink, disable by default (#14824) 2026-04-16 23:21:14 +08:00
main.dart feat: advanced option, main window, always on top (#12731) 2025-08-26 00:15:55 +08:00