[mob][photos] Prevent double ML sessions in debug iOS
This commit is contained in:
@@ -551,7 +551,7 @@ class MLService {
|
||||
}
|
||||
|
||||
bool _cannotRunMLFunction({String function = ""}) {
|
||||
if (kDebugMode && Platform.isIOS) {
|
||||
if (kDebugMode && Platform.isIOS && !_isIndexingOrClusteringRunning) {
|
||||
return false;
|
||||
}
|
||||
if (_isIndexingOrClusteringRunning) {
|
||||
|
||||
Reference in New Issue
Block a user