This patch prevents calling WebSocketChannel::StopSession at the same time on main thread from WebSocketChannel::Close and on socket thread from WebSocketChannel::AbortSession. --HG-- extra : amend_source : ee9c2ebb75273251d868c9726597a41cf38fbb6c