Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: add more logs for testing

Prateek Sunalcc0198f879eb
diff --git a/mobile/apps/photos/lib/utils/isolate/super_isolate.dart b/mobile/apps/photos/lib/utils/isolate/super_isolate.dart
index 3a83eaef1b..603bd1ef15 100644
--- a/mobile/apps/photos/lib/utils/isolate/super_isolate.dart
+++ b/mobile/apps/photos/lib/utils/isolate/super_isolate.dart
@@ -125,6 +125,8 @@ abstract class SuperIsolate {
final answerPort = ReceivePort();
_activeTasks++;
+ // TODO: remove it after we're done
+ logger.info("new activity ${operation.name}, activeTasks $_activeTasks");
final taskID = newIsolateTaskID(operation.name);
_mainSendPort.send([taskID, operation.index, args, answerPort.sendPort]);
@@ -148,6 +150,8 @@ abstract class SuperIsolate {
}
});
_activeTasks--;
+ // TODO: remove it after we're done
+ logger.info("new activity ${operation.name}, activeTasks $_activeTasks");
return completer.future;
});