[mob][photos] Fix for dart_ui_isolate

This commit is contained in:
laurenspriem 2024-05-23 16:37:34 +05:30
parent cc8e345a17
commit 3810df1b20

View file

@ -246,6 +246,7 @@ class FaceMlService {
} }
/// The main execution function of the isolate. /// The main execution function of the isolate.
@pragma('vm:entry-point')
static void _isolateMain(SendPort mainSendPort) async { static void _isolateMain(SendPort mainSendPort) async {
final receivePort = ReceivePort(); final receivePort = ReceivePort();
mainSendPort.send(receivePort.sendPort); mainSendPort.send(receivePort.sendPort);