Emit Connection::disconnected() after Handler returns
If there's an active Handler, wait for it to finish before emitting the disconnected() signal which leads to deletion of the Connection. This prevents crashes when the client disconnects while we are in the middle of request handlng (like FetchHelper)
parent
2d568d1c
Please register or sign in to comment