mirror of
https://github.com/ente-io/ente.git
synced 2025-08-09 07:48:52 +00:00
[mob][photos] Prevent double ML sessions in debug iOS
This commit is contained in:
parent
1d50cdeeca
commit
5eb153a310
@ -551,7 +551,7 @@ class MLService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool _cannotRunMLFunction({String function = ""}) {
|
bool _cannotRunMLFunction({String function = ""}) {
|
||||||
if (kDebugMode && Platform.isIOS) {
|
if (kDebugMode && Platform.isIOS && !_isIndexingOrClusteringRunning) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (_isIndexingOrClusteringRunning) {
|
if (_isIndexingOrClusteringRunning) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user