mirror of
https://github.com/servo/servo
synced 2026-05-03 04:42:17 +02:00
fixes dereferencing on an immutable reference (#31864)
This commit is contained in:
@@ -543,7 +543,7 @@ impl ModuleTree {
|
||||
|
||||
if let Some(exception) = &*module_error {
|
||||
unsafe {
|
||||
let ar = enter_realm(&*global);
|
||||
let ar = enter_realm(global);
|
||||
JS_SetPendingException(
|
||||
*GlobalScope::get_cx(),
|
||||
exception.handle(),
|
||||
|
||||
Reference in New Issue
Block a user