soundbox
soundbox copied to clipboard
Memory bloating (window crashed, workers)
Chrome Devtools screenshot.
Description
Recently I run into an issue of crashing window. After further investigation I've found the hitting either [song] or [range] button spawns workers infinitely. The code which spawns workers can be found in the player.js
Probable solution
Just terminate unused workers by .terminate()
or use only several of them to do the job.
Platform
- Google Chrome Version 72.0.3626.109 (Official Build) (64-bit)