Remove root context check from Env

This was only added [very briefly] when Env managed Origins, which it no longer
does.
This commit is contained in:
Karl Seguin
2026-03-11 08:21:35 +08:00
parent f6d0e484b0
commit dc3d2e9790
4 changed files with 5 additions and 14 deletions

View File

@@ -759,7 +759,7 @@ const IsolatedWorld = struct {
pub fn removeContext(self: *IsolatedWorld) !void {
const ctx = self.context orelse return error.NoIsolatedContextToRemove;
self.browser.env.destroyContext(ctx, false);
self.browser.env.destroyContext(ctx);
self.context = null;
}