Quellcode durchsuchen

always empty options.doc and options.win

Gildas vor 7 Jahren
Ursprung
Commit
bb05f745f2
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      lib/single-file/single-file-core.js

+ 2 - 2
lib/single-file/single-file-core.js

@@ -177,9 +177,9 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 			this.pendingPromises = this.executeStage(REPLACE_DATA_STAGE);
 			if (this.options.doc) {
 				docUtil.postProcessDoc(this.options.doc, this.options);
-				this.options.doc = null;
-				this.options.win = null;
 			}
+			this.options.doc = null;
+			this.options.win = null;
 		}
 
 		async run() {