File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ type ExportsManagerEvents = {
6464} ;
6565
6666export class ExportsManager extends EventEmitter < ExportsManagerEvents > {
67- private wasInitialized : boolean = false ;
6867 private isShuttingDown : boolean = false ;
6968 private storedExports : Record < StoredExport [ "exportName" ] , StoredExport > = { } ;
7069 private exportsCleanupInProgress : boolean = false ;
@@ -96,13 +95,11 @@ export class ExportsManager extends EventEmitter<ExportsManagerEvents> {
9695 }
9796
9897 protected init ( ) : void {
99- if ( ! this . wasInitialized ) {
98+ if ( ! this . exportsCleanupInterval ) {
10099 this . exportsCleanupInterval = setInterval (
101100 ( ) => void this . cleanupExpiredExports ( ) ,
102101 this . config . exportCleanupIntervalMs
103102 ) ;
104-
105- this . wasInitialized = true ;
106103 }
107104 }
108105
You can’t perform that action at this time.
0 commit comments