Update JavaScriptContextHolder documentation to not mention CatlaystInstance (#50163)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50163

Update JavaScriptContextHolder documentation to not mention CatlaystInstance

changelog: [internal] internal

Reviewed By: NickGerleman

Differential Revision: D71508657

fbshipit-source-id: 379be65c8a4afdfb0ed994fd1189b1285c246eec
This commit is contained in:
David Vacca authored and Facebook GitHub Bot committed 2025-03-20 13:08:29 -07:00
1 parent 06325d5411
commit ceff2e8c37
1 file changed
+4 -3
@@ -10,9 +10,10 @@ package com.facebook.react.bridge
import androidx.annotation.GuardedBy
/**
* Wrapper for JavaScriptContext native pointer. CatalystInstanceImpl creates this on demand, and
* will call clear() before destroying the VM. People who need the raw JavaScriptContext pointer can
* synchronize on this wrapper object to guarantee that it will not be destroyed.
* Wrapper for JavaScriptContext native pointer. This object is creates on demand as part of the
* initialization of React native, and will call clear() before destroying the VM. People who need
* the raw JavaScriptContext pointer can synchronize on this wrapper object to guarantee that it
* will not be destroyed.
*/
public class JavaScriptContextHolder
public constructor(@field:GuardedBy("this") private var context: Long) {