Skip to content

Voxa Memory Leak Fixes & Code Improvements! (Pre-release)

Pre-release
Pre-release
Compare
Choose a tag to compare
@plyght plyght released this 05 Jan 17:22
· 93 commits to main since this release

⚠️ Important Disclaimer
This release is pre-alpha and intended primarily for experimentation and feedback. The code may undergo significant changes, and some features may be incomplete or break between versions. Use at your own risk and report any issues you find!

✨ Highlights of This Release

  • 🧹 Memory Leak Prevention
    • Added a weak reference to WKWebView in the Coordinator, preventing strong reference cycles.
    • Removed the channelClick message handler in deinit to avoid lingering references within WKUserContentController.
  • 🏗️ Code Quality Enhancements
    • Centralized window-positioning logic and added checks for missing screens to prevent potential errors.
    • Provided a fallback HTML page when invalid URLs are encountered, improving user experience.
    • Introduced minor logging hooks in SwiftUI’s .onAppear and .onDisappear to simplify debugging.
  • 🔧 UI & Debugging Improvements
    • Applied subtle logging for better insight into the SwiftUI lifecycle.

📜 Full Changelog

For a detailed list of commits, please visit the commit history.

📝 Note
We acknowledge that this release may not be fully polished or documented. Ongoing improvements to our release documentation and process are planned for future updates. If you encounter any bugs or have suggestions, feel free to open an issue or pull request on the project’s repository.