mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
browser: use loop.resetJS
This commit is contained in:
@@ -244,7 +244,7 @@ pub const Session = struct {
|
|||||||
std.debug.assert(self.page != null);
|
std.debug.assert(self.page != null);
|
||||||
|
|
||||||
// Reset all existing callbacks.
|
// Reset all existing callbacks.
|
||||||
self.app.loop.reset();
|
self.app.loop.resetJS();
|
||||||
|
|
||||||
self.env.stop();
|
self.env.stop();
|
||||||
// TODO unload document: https://html.spec.whatwg.org/#unloading-documents
|
// TODO unload document: https://html.spec.whatwg.org/#unloading-documents
|
||||||
|
|||||||
Reference in New Issue
Block a user