From 11e8ece10f56d1913ef25ee5128e7f34aed0cd85 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Thu, 26 Jan 2023 14:12:35 -0800 Subject: [PATCH] videoanalysis: squelch log --- plugins/objectdetector/package-lock.json | 4 ++-- plugins/objectdetector/package.json | 2 +- plugins/objectdetector/src/main.ts | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/plugins/objectdetector/package-lock.json b/plugins/objectdetector/package-lock.json index a8aba14f6..4ffc0da5d 100644 --- a/plugins/objectdetector/package-lock.json +++ b/plugins/objectdetector/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/objectdetector", - "version": "0.0.89", + "version": "0.0.90", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/objectdetector", - "version": "0.0.89", + "version": "0.0.90", "license": "Apache-2.0", "dependencies": { "@scrypted/common": "file:../../common", diff --git a/plugins/objectdetector/package.json b/plugins/objectdetector/package.json index d72016f9c..a8b91e74f 100644 --- a/plugins/objectdetector/package.json +++ b/plugins/objectdetector/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/objectdetector", - "version": "0.0.89", + "version": "0.0.90", "description": "Scrypted Video Analysis Plugin. Installed alongside a detection service like OpenCV or TensorFlow.", "author": "Scrypted", "license": "Apache-2.0", diff --git a/plugins/objectdetector/src/main.ts b/plugins/objectdetector/src/main.ts index 24839f11d..9f1d79537 100644 --- a/plugins/objectdetector/src/main.ts +++ b/plugins/objectdetector/src/main.ts @@ -1042,8 +1042,7 @@ class ObjectDetectorMixin extends MixinDeviceBase implements Mi } async releaseMixin(id: string, mixinDevice: any) { - this.console.log('releasing ObjectDetection mixin', id); - mixinDevice.release(); + return mixinDevice.release(); } }