Tensor dispose optionally chained in case it wasn't set.

This commit is contained in:
DebaucheryLibrarian
2026-07-05 20:57:40 +02:00
parent c6a3c3aba3
commit 708c02b410

View File

@@ -87,7 +87,7 @@ async function getBiometrics(avatarEntry) {
return null; return null;
} finally { } finally {
tensor.dispose(); tensor?.dispose();
} }
} }