-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
A-content/domInteracting with the DOM from web contentInteracting with the DOM from web contentC-has-patchI-panicServo encounters a panic.Servo encounters a panic.
Description
This can cause panics if a GC occurs after the ScriptThread code has cleaned up the TLS:
servo/components/script/dom/worklet.rs
Lines 159 to 164 in dae4943
| impl Drop for Worklet { | |
| fn drop(&mut self) { | |
| let script_thread = ScriptThread::worklet_thread_pool(); | |
| script_thread.exit_worklet(self.worklet_id); | |
| } | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-content/domInteracting with the DOM from web contentInteracting with the DOM from web contentC-has-patchI-panicServo encounters a panic.Servo encounters a panic.