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

RTC-14795 Abort launching of c9shell if network is offline #2074

Merged
merged 4 commits into from
Jan 16, 2024

Conversation

swasunb
Copy link
Contributor

@swasunb swasunb commented Jan 11, 2024

No description provided.

@@ -162,6 +163,13 @@ class C9ShellHandler {
* Launches the correct c9shell process
*/
private async _launchC9Shell(): Promise<ChildProcess | undefined> {
if (!windowHandler.isOnline) {
logger.info(
'c9-shell: launching of shell aborted due to network unavailability.',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swasunb will we try again to launch C9 when we finally get the network?

Copy link
Contributor Author

@swasunb swasunb Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the extension gets reloaded it will try to launch the shell.

@sbenmoussati sbenmoussati merged commit e1b9722 into finos:main Jan 16, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants