mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 12:44:43 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user