Skip to content

Commit 6951dd1

Browse files
committed
browser: use loop.resetJS
1 parent 151ff3b commit 6951dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/browser.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ pub const Session = struct {
244244
std.debug.assert(self.page != null);
245245

246246
// Reset all existing callbacks.
247-
self.app.loop.reset();
247+
self.app.loop.resetJS();
248248

249249
self.env.stop();
250250
// TODO unload document: https://html.spec.whatwg.org/#unloading-documents

0 commit comments

Comments
 (0)