Skip to content

Commit ceff2e8

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Update JavaScriptContextHolder documentation to not mention CatlaystInstance (#50163)
Summary: Pull Request resolved: #50163 Update JavaScriptContextHolder documentation to not mention CatlaystInstance changelog: [internal] internal Reviewed By: NickGerleman Differential Revision: D71508657 fbshipit-source-id: 379be65c8a4afdfb0ed994fd1189b1285c246eec
1 parent 06325d5 commit ceff2e8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JavaScriptContextHolder.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ package com.facebook.react.bridge
1010
import androidx.annotation.GuardedBy
1111

1212
/**
13-
* Wrapper for JavaScriptContext native pointer. CatalystInstanceImpl creates this on demand, and
14-
* will call clear() before destroying the VM. People who need the raw JavaScriptContext pointer can
15-
* synchronize on this wrapper object to guarantee that it will not be destroyed.
13+
* Wrapper for JavaScriptContext native pointer. This object is creates on demand as part of the
14+
* initialization of React native, and will call clear() before destroying the VM. People who need
15+
* the raw JavaScriptContext pointer can synchronize on this wrapper object to guarantee that it
16+
* will not be destroyed.
1617
*/
1718
public class JavaScriptContextHolder
1819
public constructor(@field:GuardedBy("this") private var context: Long) {

0 commit comments

Comments
 (0)