mirror of https://github.com/axmolengine/axmol.git
call correct java method
This commit is contained in:
parent
8648d171bb
commit
c6da8d2fbd
|
@ -113,7 +113,7 @@ extern "C"
|
||||||
, "terminateProcess"
|
, "terminateProcess"
|
||||||
, "()V"))
|
, "()V"))
|
||||||
{
|
{
|
||||||
t.env->CallStaticObjectMethod(t.classID, t.methodID);
|
t.env->CallStaticVoidMethod(t.classID, t.methodID);
|
||||||
t.env->DeleteLocalRef(t.classID);
|
t.env->DeleteLocalRef(t.classID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue