Commit
refactor: Enhance queue management and loading state handling in Waveform component
Commit details
Commit notes
This commit refines the queue management system by introducing cancellation capabilities for queued load functions, ensuring that only active loads are processed. It also updates the component's mounting state handling to prevent operations on unmounted components, improving stability during audio loading and playback. Additionally, the code is cleaned up for better readability and maintainability.
- Files changed
- 1
- Lines added
- +71
- Lines removed
- −53