← All releases
v1.2.2

Performance Optimization & Responsiveness Update

This release focuses on preventing user interface freezing, optimizing memory usage during configuration updates, and eliminating redundant code structures to ensure a smooth user experience.

What’s New:

  • Non-Blocking Process Cleanup (UI Freeze Fix): Migrated the process cleanup and port polling operations inside server.py to a background QThread combined with a local QEventLoop. This ensures the main user interface remains responsive and never enters a “Not Responding” state while starting or stopping the server.
  • Memory & Instance Optimization: Updated CommandPreviewWidget to use a shared reference of the main LlamaServerManager instance instead of instantiating a new manager on every single form input modification. This drastically reduces redundant CPU and memory overhead during configuration tweaks.
  • Safe Initialization Sequence: Reordered the initialization steps inside ui.py into a strict 8-step sequence. Core properties and logging callbacks are now guaranteed to be fully initialized before any signals are connected or configurations are loaded.
  • Dead Code Elimination: Removed the unused _continue_start_server slot and redundant signal connections from server.py, keeping the codebase cleaner and more maintainable.