Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
timtmok committed Jan 17, 2025
1 parent 224456d commit 41f8248
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,6 @@ export class PositronPlotsService extends Disposable implements IPositronPlotsSe
// When the storage service is about to save state, store the current history policy
// and storage policy in the workspace storage.
this._register(this._storageService.onWillSaveState(() => {
this._plots.forEach((plot) => {
this.storePlotMetadata(plot.metadata);
});

this._editorPlots.forEach((plot) => {
this.storePlotMetadata(plot.metadata);
});

this._storageService.store(
HistoryPolicyStorageKey,
this._selectedHistoryPolicy,
Expand Down

0 comments on commit 41f8248

Please sign in to comment.