@iobroker/db-objects-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.
@@ -4340,6 +4340,7 @@ class ObjectsInRedisClient {
4340
4340
  if (this.client) {
4341
4341
  try {
4342
4342
  await this.client.quit();
4343
+ this.client.removeAllListeners();
4343
4344
  this.client = null;
4344
4345
  } catch {
4345
4346
  // ignore error
@@ -4348,6 +4349,7 @@ class ObjectsInRedisClient {
4348
4349
  if (this.sub) {
4349
4350
  try {
4350
4351
  await this.sub.quit();
4352
+ this.sub.removeAllListeners();
4351
4353
  this.sub = null;
4352
4354
  } catch {
4353
4355
  // ignore error
@@ -4356,6 +4358,7 @@ class ObjectsInRedisClient {
4356
4358
  if (this.subSystem) {
4357
4359
  try {
4358
4360
  await this.subSystem.quit();
4361
+ this.subSystem.removeAllListeners();
4359
4362
  this.subSystem = null;
4360
4363
  } catch {
4361
4364
  // ignore error
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@iobroker/db-objects-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
  "deep-clone": "^3.0.3",
10
10
  "ioredis": "^4.28.2",
11
11
  "node.extend": "^2.0.2",
@@ -36,5 +36,5 @@
36
36
  "lib/",
37
37
  "index.js"
38
38
  ],
39
- "gitHead": "2dbcd130e6ea7bf4398e3dc8daa0f43a81f87eaa"
39
+ "gitHead": "8d84f8138adacae4b60d05dd0f34fde8c36546dc"
40
40
  }