Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Don't release rust runtime args too soon, let it get release in the regular way

laurenspriem4e50430370af
diff --git a/mobile/apps/photos/lib/services/machine_learning/ml_indexing_isolate.dart b/mobile/apps/photos/lib/services/machine_learning/ml_indexing_isolate.dart
index e9fe1fd3e9..40d579826f 100644
--- a/mobile/apps/photos/lib/services/machine_learning/ml_indexing_isolate.dart
+++ b/mobile/apps/photos/lib/services/machine_learning/ml_indexing_isolate.dart
@@ -98,7 +98,6 @@ class MLIndexingIsolate extends SuperIsolate {
"Deleted corrupt Rust ONNX model cache at ${isolateResult.modelPath}; "
"stopping ML indexing for fileID ${instruction.fileKey}",
);
- _cachedRustRuntimeArgs = null;
shouldPauseIndexingAndClustering = true;
throw isolateResult;
}