Add the isolate name server to the set of native APIs available on secondary isolates (flutter/engine#6444)
This commit is contained in:
@@ -89,6 +89,7 @@ void DartUI::InitForGlobal() {
|
||||
// Secondary isolates do not provide UI-related APIs.
|
||||
g_natives_secondary = new tonic::DartLibraryNatives();
|
||||
DartRuntimeHooks::RegisterNatives(g_natives_secondary);
|
||||
IsolateNameServerNatives::RegisterNatives(g_natives_secondary);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user