Tensor dispose optionally chained in case it wasn't set.
This commit is contained in:
@@ -87,7 +87,7 @@ async function getBiometrics(avatarEntry) {
|
||||
|
||||
return null;
|
||||
} finally {
|
||||
tensor.dispose();
|
||||
tensor?.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user