What's Changed
Bug Fixes
-
Fix unbounded SQLite growth on prune — Added
Cache.delete_systems()to remove stale star systems from the database when they are pruned. Previously only in-memory structures were cleaned up, causing the DB to grow indefinitely across long sessions. -
Fix duplicate log callbacks — Removed a duplicate
self.on_log(message)call inController._log()that caused every log message to be dispatched twice. -
Fix HUD widget memory leak — Replaced the global
listofHudDividerWidgetinstances with aweakref.WeakSet, so destroyed widgets are automatically garbage-collected without manual cleanup. The HUD animation timer now also stops itself automatically when no instances remain, preventing it from running indefinitely.