|
|
@@ -309,7 +309,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
indexResource = indexResource + 1;
|
|
|
onloadListener({ index: indexResource, url: resourceURL });
|
|
|
resourceRequests.forEach(resourceRequest => resourceRequest.reject(error));
|
|
|
- }
|
|
|
+ }
|
|
|
}));
|
|
|
}
|
|
|
}
|
|
|
@@ -981,6 +981,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
if (frameWindowId) {
|
|
|
const frameData = this.options.framesData.find(frame => frame.windowId == frameWindowId);
|
|
|
if (frameData) {
|
|
|
+ this.options.framesData = this.options.framesData.filter(frame => frame.windowId != frameWindowId);
|
|
|
if (frameData.processor) {
|
|
|
this.stats.add("processed", "frames", 1);
|
|
|
await frameData.processor.run();
|