Skip to content

Commit 70c69ed

Browse files
committed
Bug 1794061 - WebSocketChannel::CleanupConnection should run on IO thread, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D158831
1 parent 9633b1b commit 70c69ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

netwerk/protocol/websocket/WebSocketChannel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2258,6 +2258,7 @@ void WebSocketChannel::CleanupConnection() {
22582258
NewRunnableMethod("net::WebSocketChannel::CleanupConnection", this,
22592259
&WebSocketChannel::CleanupConnection),
22602260
NS_DISPATCH_NORMAL);
2261+
return;
22612262
}
22622263

22632264
if (mLingeringCloseTimer) {

0 commit comments

Comments
 (0)