mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53: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);
|
||||
|
||||
// Reset all existing callbacks.
|
||||
self.app.loop.reset();
|
||||
self.app.loop.resetJS();
|
||||
|
||||
self.env.stop();
|
||||
// TODO unload document: https://html.spec.whatwg.org/#unloading-documents
|
||||
|
||||
Reference in New Issue
Block a user