feat: wire up event delegator for webview

This commit is contained in:
Jonathan Kelley committed 2021-07-24 02:52:05 -04:00
1 parent 0a907b35c6
commit 7dfe89c958
21 files changed
+265 -272

No files matched your search

+2
View File
@@ -108,6 +108,8 @@ impl Scope {
let next_frame = self.frames.prev_frame_mut();
next_frame.bump.reset();
// make sure we call the drop implementation on all the listeners
// this is important to not leak memory
self.listeners.borrow_mut().clear();
unsafe { self.hooks.reset() };