mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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:
1 parent
06325d5411
commit
ceff2e8c37
1 file changed
+4
-3
+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) {
|
||||
|
||||
Reference in new issue
Block a user