soundbox icon indicating copy to clipboard operation
soundbox copied to clipboard

Memory bloating (window crashed, workers)

Open hinell opened this issue 5 years ago • 1 comments

screenshot_3 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)

hinell avatar Feb 19 '19 12:02 hinell