android/runtime/v8/src/native/JavaObject.cpp
static void DetachCallback(v8::Persistent<v8::Value> value, void *data)
{
	JavaObject *javaObject = static_cast<JavaObject*>(data);
	javaObject->detach();
}
// Callback for V8 letting us know the JavaScript object is no longer reachable.
// Once we receive this callback we can safely release our strong reference
// on the wrapped Java object so it can become eligible for collection.
Callback for V8 letting us know the JavaScript object is no longer reachable.
Once we receive this callback we can safely release our strong reference
on the wrapped Java object so it can become eligible for collection.
Callback for V8 letting us know the JavaScript object is no longer reachable . Once we receive this callback we can safely release our strong reference on the wrapped Java object so it can become eligible for collection .
static void DetachCallback(v8::Persistent<v8::Value> value, void *data)
{
	JavaObject *javaObject = static_cast<JavaObject*>(data);
	javaObject->detach();
}
static void DetachCallback ( v8 :: Persistent < v8 :: Value > value , void * data ) { JavaObject * javaObject = static_cast < JavaObject * > ( data ) ; javaObject -> detach ( ) ; }
Callback for V8 letting us know the JavaScript object is no longer reachable.
Callback for V8 letting us know the JavaScript object is no longer reachable .