From f1a4fb101478ce6ec82fe9627c43efbf9e98c813 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Wed, 13 Nov 2024 15:45:08 +0100 Subject: [PATCH] recovery fix for #232699 (#233764) recovery fix for #232699 (#233763) --- src/vs/platform/log/node/spdlogLog.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vs/platform/log/node/spdlogLog.ts b/src/vs/platform/log/node/spdlogLog.ts index ef99c32831a10..b70bbdbd07f48 100644 --- a/src/vs/platform/log/node/spdlogLog.ts +++ b/src/vs/platform/log/node/spdlogLog.ts @@ -110,6 +110,10 @@ export class SpdLogLogger extends AbstractMessageLogger implements ILogger { } override flush(): void { + if (this._store.isDisposed) { + return; + } + if (this._logger) { this._logger.flush(); } else {