File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -680,11 +680,13 @@ export class UserInterface implements ui_constants.UiApi {
680680
681681 // regardless, let the user know
682682 this . bringUproxyToFront ( ) ;
683- } else {
684- // Clear the browser proxy settings. This is necessary in case the
685- // proxy was stopped when the user was signed out of the social network.
686- // In the case where the user clicked stop, this will have no effect
687- // (this function is idempotent).
683+ } else if ( this . instanceGettingAccessFrom_ === null ) {
684+ // Clear the browser proxy settings only if there is no active connection.
685+ // Otherwise, this is a connection handover and clearing the proxy
686+ // settings will interrupt the active session.
687+ // This is necessary in case the proxy was stopped when the user was
688+ // signed out of the social network. In the case where the user clicked
689+ // stop, this will have no effect (this function is idempotent).
688690 this . browserApi . stopUsingProxy ( ) ;
689691 }
690692
You can’t perform that action at this time.
0 commit comments