Skip to content

Commit

Permalink
fix: add future exec for native lib entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
andycall authored and LeuisKen committed Dec 28, 2024
1 parent d6b5d67 commit 380e668
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bridge/core/native/native_loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 380e668

Please sign in to comment.