Skip to content

WireTap v1.5.2 - Critical Shutdown Bug Fix

Choose a tag to compare

@chriskearney chriskearney released this 06 Sep 19:00
· 21 commits to master since this release

🚨 Critical Bug Fix

Fixed: Application doesn't exit when GUI window is closed

  • Issue: On Windows, the .exe kept running in background after closing GUI window
  • Root Cause: GUI shutdown didn't properly terminate main application thread and background services
  • Solution: Added shutdown callback mechanism and proper service cleanup

Changes:

  • ✅ Shutdown Callback: ServerGUI now properly notifies main application when closing
  • ✅ Main Thread Exit: Application exits when GUI window is closed on all platforms
  • ✅ Service Cleanup: HTTP server and proxy services are properly stopped
  • ✅ Cross-Platform: Consistent shutdown behavior on Windows, macOS, and Linux

Technical Details:

  • Added shutdownCallback mechanism to ServerGUI
  • Modified Main.java to handle GUI close events
  • Added HttpApp.shutdown() method for clean service termination
  • Ensured all threads and resources are properly cleaned up

Impact:

  • ✅ Windows: .exe exits immediately when GUI window closes
  • ✅ macOS: App bundle terminates properly
  • ✅ Linux: Application shuts down cleanly
  • ✅ No Background Processes: Complete application exit on all platforms

This release fixes a critical usability issue where the application would continue running in the background after the user closed the main window.