add Event.fromInt

This commit is contained in:
Brenton Bostick 2023-01-31 12:04:21 -05:00
parent 82749e4442
commit 7c5f256d4a
5 changed files with 52 additions and 67 deletions

View file

@ -201,7 +201,7 @@ namespace {
}
jobject eventObject = createEvent(env, event);
if (eventObject == NULL) {
if (env->ExceptionCheck() || eventObject == NULL) {
return;
}