Skip to content

Commit d7c3899

Browse files
Corrected the error message.
1 parent c5de943 commit d7c3899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/main/cpp/utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ shared_ptr<T> getPtr(JNIEnv* env, jobject thisObj, const char* handleName = "nat
110110
jfieldID fidNumber = env->GetFieldID(thisClass, handleName, "J");
111111
auto handle = reinterpret_cast<shared_ptr<T>*>(env->GetLongField(thisObj, fidNumber));
112112
if (handle == nullptr) {
113-
throw NativeHandleDisposedException("The native object is already has been disposed");
113+
throw NativeHandleDisposedException("The native object has already been disposed");
114114
}
115115
return *handle;
116116
}

0 commit comments

Comments
 (0)