Check IsContextDestroyed() before calling ProcessSendQueue()
We shouldn't call ProcessSendQueue() in WebSocketChannelImpl::Close() when execution_context_->IsContextDestroyed() returns true. In current implementation, it is guaranteed that execution_context_->IsContextDestroyed() returns false in WebSocketChannelImpl::Close(), but it will return both of true/false with another CL https://crrev.com/c/2359657 Bug: 1116995, 1100257 Change-Id: Id5157f78859e2d9aa5dbd02a7b82bafd58808e17 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2362042 Commit-Queue: Yuki Yamada <yukiy@chromium.org> Reviewed-by:Keishi Hattori <keishi@chromium.org> Reviewed-by:
Yutaka Hirano <yhirano@chromium.org> Reviewed-by:
Bartek Nowierski <bartekn@chromium.org> Cr-Commit-Position: refs/heads/master@{#799524}
Showing
Please register or sign in to comment