diff --git a/extensions/Tips/src/TipsExtension.ts b/extensions/Tips/src/TipsExtension.ts index 8d12af62..144a0e3a 100644 --- a/extensions/Tips/src/TipsExtension.ts +++ b/extensions/Tips/src/TipsExtension.ts @@ -36,6 +36,9 @@ export function activate(_context: ExtensionContext): any { } function handleNewTerminal(newTerminal: Terminal): void { + if ( !newTerminal.isConnected) { + return; + } const config = getConfig(); switch (config.frequency) { case "every":