Kaynağa Gözat

always empty options.doc and options.win

Gildas 7 yıl önce
ebeveyn
işleme
bb05f745f2
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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() {