Let it crash (#2030)
This commit is contained in:
parent
ae62c1700b
commit
6ced146018
|
|
@ -109,7 +109,7 @@ namespace lspd {
|
|||
}
|
||||
jmethodID mid = lsplant::JNI_GetStaticMethodID(env, entry_class_, method_name, method_sig);
|
||||
if (mid) [[likely]] {
|
||||
lsplant::JNI_CallStaticVoidMethod(env, entry_class_, mid, std::forward<Args>(args)...);
|
||||
env->CallStaticVoidMethod(entry_class_, mid, lsplant::UnwrapScope(std::forward<Args>(args))...);
|
||||
} else {
|
||||
LOGE("method {} id is null", method_name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue