[mob][photos] Fix for dart_ui_isolate
This commit is contained in:
parent
cc8e345a17
commit
3810df1b20
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue