Skip to content

0.2.7

Choose a tag to compare

@knoop7 knoop7 released this 31 Jan 02:56
· 217 commits to master since this release
ccd0930

Mac_2026-01-31 10 55 56

Issue: Crashes after about 1 hour of operation, affecting the HA Companion App

Fix

  1. WakeLock Timeout - Adds 30-minute timeout + auto-renewal to prevent system killing
  2. Bluetooth Job Management - Add stop() method to properly clean up the scan task
  3. GlobalScope Replacement - Switch to structured concurrency to avoid coroutine leakage
  4. BluetoothProxy nested launch - Removed nested coroutines in GATT callbacks to prevent coroutine explosions
  5. WebView Crash Protection - Crashes 3 times in 1 minute to stop rebuilding, and the delay increases from 500ms to 2 seconds
  6. WebView Resource Cleanup - Cleans up all dialogs in onDestroy to prevent window leaks
  7. UDP Shutdown Optimization - Close the socket before canceling the job and add an exception log