mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
fix handle_wgpu_msg crash (#30479)
* Enter realm before handle_wgpu_msg fix https://github.com/servo/servo/issues/30419 * Update expectations
This commit is contained in:
parent
dfd14aabef
commit
bd9c17234c
3 changed files with 3 additions and 2 deletions
|
@ -2102,6 +2102,7 @@ impl ScriptThread {
|
|||
result,
|
||||
} => {
|
||||
let global = self.documents.borrow().find_global(pipeline_id).unwrap();
|
||||
let _ac = enter_realm(&*global);
|
||||
global.handle_wgpu_msg(device, scope_id, result);
|
||||
},
|
||||
WebGPUMsg::CleanDevice {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue