feat: wire up event delegator for webview
This commit is contained in:
1 parent
0a907b35c6
commit
7dfe89c958
21 files changed
+265
-272
No files matched your search
@@ -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() };
|
||||
|
||||
Reference in new issue
Block a user