# Release v2.2.2 - Timeout Auto-cleanup Fix ## ๐ŸŒŸ Highlights This version fixes a critical resource management issue where GUI/Web UI interfaces were not properly closed when MCP sessions ended due to timeout, causing the interfaces to remain open and unresponsive. ## ๐Ÿ› Bug Fixes - ๐Ÿ”„ **Timeout Auto-cleanup**: Fixed GUI/Web UI not automatically closing after MCP session timeout (default 600 seconds) - ๐Ÿ›ก๏ธ **Resource Management Optimization**: Improved timeout handling mechanism to ensure proper cleanup and closure of all UI resources on timeout - โšก **Enhanced Timeout Detection**: Strengthened timeout detection logic to correctly handle timeout events in various scenarios - ๐Ÿ”ง **Interface Response Improvement**: Enhanced Web UI frontend handling of session timeout events ## ๐Ÿš€ Technical Improvements - ๐Ÿ“ฆ **Web Session Management**: Refactored WebFeedbackSession timeout handling logic - ๐ŸŽฏ **QTimer Integration**: Introduced precise QTimer timeout control mechanism in GUI - ๐ŸŒ **Frontend Communication Optimization**: Improved timeout message communication between Web UI frontend and backend - ๐Ÿงน **Resource Cleanup Mechanism**: Added _cleanup_resources_on_timeout method to ensure thorough cleanup ## ๐Ÿ“ฆ Installation & Update ```bash # Quick test latest version uvx mcp-feedback-enhanced@latest test --gui # Update to specific version uvx mcp-feedback-enhanced@v2.2.2 test ``` ## ๐Ÿ”— Related Links - Full Documentation: [README.md](../../README.md) - Issue Reporting: [GitHub Issues](https://github.com/Minidoracat/mcp-feedback-enhanced/issues) - Fixed Issue: #5 (GUI/Web UI timeout cleanup)