Skip to content

Commit

Permalink
recovery fix for #232699 (#233764)
Browse files Browse the repository at this point in the history
recovery fix for #232699 (#233763)
  • Loading branch information
sandy081 authored Nov 13, 2024
1 parent bc15076 commit f1a4fb1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vs/platform/log/node/spdlogLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f1a4fb1

Please sign in to comment.