Release notes
# Release Notes for v2.5.2
We're excited to announce **Live Background Removal Lite v2.5.2**! This update brings several improvements in stability, performance, and code structure, thanks to both community feedback and code review contributions.
## Highlights
### ✨ Improved Startup Experience
- **Flickering on Startup Fixed:** We fixed an issue that caused flickering when starting up by improving texture initialization. This results in a smoother and more reliable launch for everyone.
### 🛠️ Stability & Robustness
- **Memory Management Improvements:** Added a thread-safe `MemoryBlockPool` for more efficient buffer handling, reducing memory churn, and improving safety.
- **Better Error Handling:** The plugin is now more robust against null pointers and texture/matrix creation failures due to improved runtime checks.
### 🧑💻 Code Quality & Refactoring
- **Refactored Texture Management:** Centralized all texture creation through a `makeTexture` helper, improving maintainability and ensuring buffer sizes match color formats.
- **Debug Window Revamp:** DebugWindow internals were thoroughly refactored for thread safety and ownership clarity, including the use of mutexes and atomic indices for texture selection. Inefficient string conversions have been eliminated.
- **Namespace and Logging Enhancements:** Namespaces have been clarified (`main_effect_detail` ➡️ `MainEffectDetail`), and configuration loading now logs more details for easier troubleshooting.
- **License Update:** Key files have been updated from GPL to the MIT license for better compatibility.
### 🐛 Bug Fixes
- Fixed potential null dereferencing in multiple paths.
- Improved the memory alignment for internal memory pools, ensuring optimal performance on all platforms.
### 📦 Other Updates
- Updated `vcpkg-configuration.json`, Arch/Flatpak packaging scripts, and addressed dependency updates.
---
As always, thank you for using and contributing to Live Background Removal Lite! Your feedback keeps the project improving. If you encounter any issues, please report them on GitHub. Happy streaming! 🚀