Skip to content

Commit

Permalink
applied hermes patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jerson committed Jun 19, 2022
1 parent 4ec6cd5 commit 2de9152
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ internal class FastOpenpgpModule(reactContext: ReactApplicationContext) :

override fun initialize() {
super.initialize()
initialize(this.reactApplicationContext.javaScriptContextHolder.get())
reactApplicationContext.runOnJSQueueThread {
initialize(this.reactApplicationContext.javaScriptContextHolder.get())
}
}

override fun onCatalystInstanceDestroy() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-fast-openpgp",
"version": "2.2.3",
"version": "2.2.4",
"description": "library for use openPGP",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 2de9152

Please sign in to comment.