From 708c02b410c3d7fd82a06f449d0a8a49dc980ce4 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sun, 5 Jul 2026 20:57:40 +0200 Subject: [PATCH] Tensor dispose optionally chained in case it wasn't set. --- src/biometrics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/biometrics.js b/src/biometrics.js index 67768942..313ee6a3 100644 --- a/src/biometrics.js +++ b/src/biometrics.js @@ -87,7 +87,7 @@ async function getBiometrics(avatarEntry) { return null; } finally { - tensor.dispose(); + tensor?.dispose(); } }