@@ -293,8 +293,10 @@ export default {
});
} catch (e) {
console.log(e);
- this.detector.dispose();
- this.detector = null;
+ try {
+ this.detector.dispose();
+ this.detector = null;
+ } catch (e) {}
}
console.log(hands);
if (hands.length > 0 && this.isCamera) {