Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening BatchExplorer in Govt cloud opens 2 application windows #1561

Closed
ascobie opened this issue Aug 24, 2018 · 2 comments
Closed

Opening BatchExplorer in Govt cloud opens 2 application windows #1561

ascobie opened this issue Aug 24, 2018 · 2 comments

Comments

@ascobie
Copy link
Member

ascobie commented Aug 24, 2018

Version 17.3

When i log into azure govt cloud, i quite often get 2 version of the application open at the same time ...

image

Sometimes closing one of them will kill both, sometimes it wont.

I uninstalled and re-installed the app that it didnt do it the first time i logged in, but after closing and re-opening the application it now happens pretty much every time.

Doesn't happen for public cloud ...

@ascobie
Copy link
Member Author

ascobie commented Aug 24, 2018

Am wondering if it is because we open a new window, but don't close the old one?

public async updateAzureEnvironment(env: AzureEnvironment) {
        await this.aadService.logout();
        this.localStorage.setItem(Constants.localStorageKey.azureEnvironment, env.id);
        this._azureEnvironment.next(env);
        await this.aadService.login();
        this.windows.openNewWindow();
}

@timotheeguerin
Copy link
Member

timotheeguerin commented Aug 29, 2018

Yeah I guess that's the issue, if the other window doesn't show up it seems to create ghost windows too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants