react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Document HostFunction dtor threading requirement

Open motiz88 opened this issue 1 year ago • 1 comments

Summary: Changelog: [Internal]

Updates the doc comment on Function::createFromHostFunction to mention that (a copy of) the provided std::function may be destroyed on an arbitrary thread, much like HostObject (where this is already documented).

Differential Revision: D56628194

motiz88 avatar Apr 26 '24 10:04 motiz88

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 19,460,108 +21
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 22,833,629 -6
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 67392cef3c8e036adfd9f77808419221d70f8f18 Branch: main

analysis-bot avatar Apr 26 '24 11:04 analysis-bot

Merged as https://github.com/facebook/react-native/commit/694e8e7dce0d57a597a8b5443ff88c9a2755ebb1

javache avatar Jun 27 '24 20:06 javache