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 {