Replies: 1 comment
-
Yes. Ideally when a V8 context is destroyed we would cancel any pending tasks, that's quite a bit more complex though. Any sort of render process crash should cancel tasks. There is a specific URL to simulate a render process crash listed in https://bitbucket.org/chromiumembedded/cef/wiki/CrashReporting.md#markdown-header-testing Pr would be most welcome. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When the render process crashes all pending tasks are never going to complete.
Should CefSharp cancel them?
What about new pending tasks that are created on browsers which crashed?
When a new page gets loaded the browser is no longer in a crashed state at least for OOM errors.
An OOM crash can be reproduced by executing this code:
Here is naive implementation of what I am asking for: campersau@f380d39
Otherwise users need to always make sure to pass a timeout to avoid an infinite wait.
Beta Was this translation helpful? Give feedback.
All reactions