Skip to content

System Control - v1.0.1

Latest

Choose a tag to compare

@mahan07dev mahan07dev released this 26 Jul 16:29

Release Notes

⚡ Cross-Platform Fixes & Performance Optimizations

🐛 Bug Fixes

  • Windows Instant Crash on Startup: Resolved a fatal panic caused by synchronous hardware sensor/component probing during app setup. Device lists and component initialization are now safely deferred and unwrapped gracefully.
  • Compilation Error: Fixed an unhandled variable name mismatch (memory_percent vs mem_percent) in get_top_processes.
  • Underflow Protection: Wrapped disk and network bytes differential math with saturating_sub to prevent runtime overflow/underflow panics across OS file systems.

🚀 Optimizations

  • Lazy Initialization: Subsystem discovery (disks, networks, components) is now deferred to the first get_stats IPC invocation, ensuring the main window renders immediately without launch delay.
  • Process Sorting: Upgraded process list iteration to .values() and switched CPU sorting to sort_unstable_by(), reducing overhead on heavy workloads.
  • Memory Optimization: Refactored static memory metrics calculations outside of per-process iteration loops.
  • Panic Recovery: Added global panic hook logging for improved diagnostic visibility across builds.