[mob][photos] Fix for dart_ui_isolate
This commit is contained in:
parent
cc8e345a17
commit
3810df1b20
1 changed files with 1 additions and 0 deletions
|
@ -246,6 +246,7 @@ class FaceMlService {
|
|||
}
|
||||
|
||||
/// The main execution function of the isolate.
|
||||
@pragma('vm:entry-point')
|
||||
static void _isolateMain(SendPort mainSendPort) async {
|
||||
final receivePort = ReceivePort();
|
||||
mainSendPort.send(receivePort.sendPort);
|
||||
|
|
Loading…
Reference in a new issue