Closed Bug 1134600 Opened 5 years ago Closed 5 years ago
.terminate() keeps the worker in memory is a Broadcast Channel is opened .
If a page opens a worker, and share a BroadcastChannel, calling worker.terminate() stop the worker but keeps it in memory. Open the related url. Search for worker.js in about:memory
Isn't this Olli's cross thread cycle collection thing?
Well, as of now, this is about the manual memory management of workers and broadcastchannel.
Flags: needinfo?(bugs) → needinfo?(amarchesini)
Attachment #8566698 - Flags: review?(bugs)
Attachment #8566698 - Attachment is obsolete: true
Assignee: nobody → amarchesini
You need to log in before you can comment on or make changes to this bug.