1.4.0-beta.4
THIS IS A BETA RELEASE MEANING IT WILL BE BUGGY AND CAN CRASH, IF YOU ARE A NEW USER OR HAVING ISSUES, PLEASE DOWNLOAD THE LATEST STABLE RELEASE: https://github.com/pierr3/TrackAudio/releases/tag/1.3.3
What's Changed
afv-native Threading Fixes (v1.3.6)
Fixes multiple threading bugs in afv-native that caused freezes, crashes, and TX issues:
- Thread-safe ChainedCallback — snapshot pattern prevents iterator invalidation during concurrent add/remove/invoke (#332)
- Atomic close flag in MiniAudioDevice — fixes race between close() and notification callback
- Atomic PTT tracking — fixes TX becoming unresponsive over time (#300)
- Voice filter lock — prevents crash from concurrent voice filter access (#335)
- Lock all radio state accessors — prevents random CTDs from unprotected reads (#335)
- Disconnect deadlock fix — prevents freeze on disconnect by decoupling callback cleanup (#332)
- Null sources/sinks before device close — prevents audio thread join deadlock (#331)
- Async event dispatch — switch all OnEvent() to OnEventAsync() to prevent reentrant locking
Related Issues
- Fixes #332 (crash/freeze on disconnect)
- Fixes #335 (CTD once an hour)
- Fixes #331 (freeze stopping mic test)
- Fixes #300 (TX becomes unresponsive)
Full Changelog: 1.4.0-beta.1...1.4.0-beta.4