@iobroker/db-states-redis 4.0.9 → 4.0.12

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.
@@ -918,6 +918,7 @@ class StateRedisClient {
918
918
  if (this.client) {
919
919
  try {
920
920
  await this.client.quit();
921
+ this.client.removeAllListeners();
921
922
  this.client = null;
922
923
  } catch {
923
924
  // ignore error
@@ -926,6 +927,7 @@ class StateRedisClient {
926
927
  if (this.subSystem) {
927
928
  try {
928
929
  await this.subSystem.quit();
930
+ this.subSystem.removeAllListeners();
929
931
  this.subSystem = null;
930
932
  } catch {
931
933
  // ignore error
@@ -934,6 +936,7 @@ class StateRedisClient {
934
936
  if (this.sub) {
935
937
  try {
936
938
  await this.sub.quit();
939
+ this.sub.removeAllListeners();
937
940
  this.sub = null;
938
941
  } catch {
939
942
  // ignore error
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@iobroker/db-states-redis",
3
- "version": "4.0.9",
3
+ "version": "4.0.12",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
7
7
  "dependencies": {
8
- "@iobroker/db-base": "4.0.9",
8
+ "@iobroker/db-base": "4.0.12",
9
9
  "ioredis": "^4.28.2"
10
10
  },
11
11
  "keywords": [
@@ -33,5 +33,5 @@
33
33
  "lib/",
34
34
  "index.js"
35
35
  ],
36
- "gitHead": "2dbcd130e6ea7bf4398e3dc8daa0f43a81f87eaa"
36
+ "gitHead": "8d84f8138adacae4b60d05dd0f34fde8c36546dc"
37
37
  }