LibWebView: Emit “submit an issue” suggestion when Ladybird crashes

This commit is contained in:
sideshowbarker 2024-07-24 18:20:19 +09:00 committed by Andrew Kaster
parent 05e1b54e97
commit cdb9081a86
Notes: github-actions[bot] 2024-07-26 00:37:59 +00:00

View file

@ -449,6 +449,7 @@ void ViewImplementation::handle_resize()
void ViewImplementation::handle_web_content_process_crash()
{
dbgln("WebContent process crashed!");
dbgln("Consider raising an issue at https://github.com/LadybirdBrowser/ladybird/issues");
++m_crash_count;
constexpr size_t max_reasonable_crash_count = 5U;