mirror of
https://github.com/electron/electron.git
synced 2026-01-07 22:54:25 -05:00
fix: auth required websocket crash (#48510)
This commit is contained in:
@@ -401,7 +401,7 @@ void ProxyingWebSocket::OnHeadersReceivedCompleteForAuth(
|
||||
|
||||
auto continuation = base::BindRepeating(
|
||||
&ProxyingWebSocket::OnAuthRequiredComplete, weak_factory_.GetWeakPtr());
|
||||
auto auth_rv = AuthRequiredResponse::kIoPending;
|
||||
auto auth_rv = AuthRequiredResponse::kCancelAuth;
|
||||
PauseIncomingMethodCallProcessing();
|
||||
|
||||
OnAuthRequiredComplete(auth_rv);
|
||||
|
||||
Reference in New Issue
Block a user