MCPcopy Create free account
hub / github.com/defold/defold / Detach

Method Detach

engine/dlib/src/dlib/android.cpp:53–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53bool ThreadAttacher::Detach()
54{
55 bool ok = true;
56 if (m_IsAttached)
57 {
58 if (m_Env->ExceptionCheck())
59 {
60 m_Env->ExceptionDescribe();
61 ok = false;
62 }
63 m_Env->ExceptionClear();
64 m_Activity->vm->DetachCurrentThread();
65 m_IsAttached = false;
66 }
67 return ok;
68}
69
70jclass LoadClass(JNIEnv* env, jobject activity, const char* class_name)
71{

Callers 3

CallZFunction · 0.80
PlatformInitializeFunction · 0.80
PlatformFinalizeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected