diff --git a/UI/window-basic-settings-stream.cpp b/UI/window-basic-settings-stream.cpp index 4715eb7b7..3ee091909 100644 --- a/UI/window-basic-settings-stream.cpp +++ b/UI/window-basic-settings-stream.cpp @@ -470,6 +470,8 @@ void OBSBasicSettings::on_service_currentIndexChanged(int) ui->serverStackedWidget->setCurrentIndex(0); } + auth.reset(); + if (!main->auth) { return; } @@ -482,7 +484,6 @@ void OBSBasicSettings::on_service_currentIndexChanged(int) IsYouTubeService(service); #endif if (service_check) { - auth.reset(); auth = main->auth; OnAuthConnected(); }