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 = {
64
64
} ;
65
65
66
66
export class ExportsManager extends EventEmitter < ExportsManagerEvents > {
67
- private wasInitialized : boolean = false ;
68
67
private isShuttingDown : boolean = false ;
69
68
private storedExports : Record < StoredExport [ "exportName" ] , StoredExport > = { } ;
70
69
private exportsCleanupInProgress : boolean = false ;
@@ -96,13 +95,11 @@ export class ExportsManager extends EventEmitter<ExportsManagerEvents> {
96
95
}
97
96
98
97
protected init ( ) : void {
99
- if ( ! this . wasInitialized ) {
98
+ if ( ! this . exportsCleanupInterval ) {
100
99
this . exportsCleanupInterval = setInterval (
101
100
( ) => void this . cleanupExpiredExports ( ) ,
102
101
this . config . exportCleanupIntervalMs
103
102
) ;
104
-
105
- this . wasInitialized = true ;
106
103
}
107
104
}
108
105
You can’t perform that action at this time.
0 commit comments