mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 00:22:43 +02:00
We don't want to destroy the WebSocketImpl while we're still using it higher up the stack. By using deferred_invoke(), we allow the stack to unwind before actually destroying any objects. This fixes an issue with the WebSocket service crashing on immediate connection failure.
23 KiB
23 KiB