@opentermsarchive/engine 0.34.2 → 0.34.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/archivist/index.js +3 -1
package/package.json
CHANGED
package/src/archivist/index.js
CHANGED
|
@@ -112,7 +112,9 @@ export default class Archivist extends events.EventEmitter {
|
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
if (this.trackingQueue.length()) {
|
|
116
|
+
await this.trackingQueue.drain();
|
|
117
|
+
}
|
|
116
118
|
|
|
117
119
|
await Promise.all([ stopHeadlessBrowser(), this.recorder.finalize() ]);
|
|
118
120
|
this.emit('trackingCompleted', servicesIds.length, Service.getNumberOfTerms(this.services, servicesIds), extractOnly);
|