mirror of
https://github.com/OutSystems/CefGlue.git
synced 2026-12-06 06:39:40 +00:00
4fdf9cee5c
Removing the pending bound query on unregistration orphans any query already awaiting it: nothing else in the dispatcher can complete it, so the js promise never settles and the PromiseHolder and CefV8Context behind it stay alive. Answer those waiters with false instead. A source is only still pending at this point when the registration bailed out because the main frame had no V8 context yet, which is the normal path for objects the host registers before the first document loads.