From fcf4f13f2ffdf8d4d319f821322775f0444207af Mon Sep 17 00:00:00 2001 From: Grzegorz Zdunek Date: Wed, 30 Oct 2024 09:05:20 +0100 Subject: [PATCH] Remove deprecated grpc-js `start()` method calls --- web/packages/teleterm/src/services/tshdEvents/index.ts | 2 -- web/packages/teleterm/src/sharedProcess/sharedProcess.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/web/packages/teleterm/src/services/tshdEvents/index.ts b/web/packages/teleterm/src/services/tshdEvents/index.ts index a8744d9a7c576..f33638c1c709a 100644 --- a/web/packages/teleterm/src/services/tshdEvents/index.ts +++ b/web/packages/teleterm/src/services/tshdEvents/index.ts @@ -85,8 +85,6 @@ async function createServer( return logger.error(error.message); } - server.start(); - const resolvedAddress = requestedAddress.startsWith('tcp:') ? `localhost:${port}` : requestedAddress; diff --git a/web/packages/teleterm/src/sharedProcess/sharedProcess.ts b/web/packages/teleterm/src/sharedProcess/sharedProcess.ts index 1b9be627d8f3e..134c80338de36 100644 --- a/web/packages/teleterm/src/sharedProcess/sharedProcess.ts +++ b/web/packages/teleterm/src/sharedProcess/sharedProcess.ts @@ -89,8 +89,6 @@ async function initializeServer( if (error) { return logger.error(error.message); } - - server.start(); }); } catch (e) { logger.error('Could not start shared server', e);