diff --git a/bridge/core/native/native_loader.cc b/bridge/core/native/native_loader.cc index be44fb0ce..2629e0e71 100644 --- a/bridge/core/native/native_loader.cc +++ b/bridge/core/native/native_loader.cc @@ -37,6 +37,7 @@ static void ExecuteNativeLibrary(PluginLibraryEntryPoint entry_point, native_library_load_context->context, native_library_load_context->context->publicMethodPtr(), native_library_load_context->context->status()}; void* result = entry_point(entry_data); + native_library_load_context->context->DrainWebFNativeFutures(); } delete native_library_load_context;