Commit
fix: Improve queue management and loading behavior in Waveform component
Commit details
Commit notes
This commit enhances the queue management system by increasing the maximum concurrent loads from 3 to 4 and introduces a unique ID for each load function in the queue. It also adds checks for component mounting status to prevent operations on unmounted components, ensuring better resource management and stability during audio loading and playback. Additionally, the root margin for lazy loading has been adjusted to optimize loading behavior.
- Files changed
- 1
- Lines added
- +56
- Lines removed
- −22