@iobroker/db-base
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -289,11 +289,13 @@ /** | ||
async saveState() { | ||
if (this.stateTimer) { | ||
clearTimeout(this.stateTimer); | ||
this.stateTimer = null; | ||
} | ||
try { | ||
const jsonString = await this.saveDataset(); | ||
const jsonString = await this.saveDataset(); | ||
if (!this.settings.backup.disabled && jsonString) { | ||
this.saveBackup(jsonString); | ||
if (!this.settings.backup.disabled && jsonString) { | ||
this.saveBackup(jsonString); | ||
} | ||
} finally { | ||
if (this.stateTimer) { | ||
clearTimeout(this.stateTimer); | ||
this.stateTimer = null; | ||
} | ||
} | ||
@@ -300,0 +302,0 @@ } |
{ | ||
"name": "@iobroker/db-base", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"engines": { | ||
@@ -34,3 +34,3 @@ "node": ">=10.0.0" | ||
}, | ||
"gitHead": "4c8d634f852df47355b22af22537cff5f2d7ad7c" | ||
"gitHead": "1884db45a7952b6fa0298a93dc9f537896dd0ef5" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30698
712