LadybirdBrowser / ancient-history

The Ladybird web browser
BSD 2-Clause "Simplified" License
1.62k stars 109 forks source link

Quit SQLServer when its connected client exits #147

Closed trflynn89 closed 1 year ago

trflynn89 commented 1 year ago

When Ladybird exits, SQLServer can get stuck spinning at 100% CPU after the socket connection is closed. This changes the client to quit the event loop when that disconnect happens to ensure that SQLServer is properly destroyed.

Depends on https://github.com/SerenityOS/serenity/pull/16401