@jsreport/jsreport-core 4.6.0 → 4.6.1

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/README.md CHANGED
@@ -282,6 +282,10 @@ jsreport.documentStore.collection('templates')
282
282
 
283
283
  ## Changelog
284
284
 
285
+ ### 4.6.1
286
+
287
+ - clear profiles canceling check interval during reporter close
288
+
285
289
  ### 4.6.0
286
290
 
287
291
  - update nanoid to fix security issue
@@ -441,14 +441,14 @@ module.exports = (reporter) => {
441
441
  clearInterval(profilesCleanupInterval)
442
442
  }
443
443
 
444
- if (profilesCleanupInterval) {
445
- clearInterval(profilesCleanupInterval)
446
- }
447
-
448
444
  if (fullModeDurationCheckInterval) {
449
445
  clearInterval(fullModeDurationCheckInterval)
450
446
  }
451
447
 
448
+ if (profilesCancelingCheckInterval) {
449
+ clearInterval(profilesCancelingCheckInterval)
450
+ }
451
+
452
452
  try {
453
453
  const runningRequests = [...reporter.runningRequests.map.values()]
454
454
  await reporter.documentStore.collection('profiles').update({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsreport/jsreport-core",
3
- "version": "4.6.0",
3
+ "version": "4.6.1",
4
4
  "description": "javascript based business reporting",
5
5
  "keywords": [
6
6
  "report",