mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
fix crash on context-unref due to typo
this issue is older, however, by the explicit unref() call now more visible. but also in the past, this could have led to random crashes after account switching.
This commit is contained in:
+1
-1
@@ -198,7 +198,7 @@ JNIEXPORT jlong Java_com_b44t_messenger_DcContext_createContextCPtr(JNIEnv *env,
|
||||
}
|
||||
|
||||
|
||||
JNIEXPORT void Java_com_b44t_messenger_DcContact_unrefContextCPtr(JNIEnv *env, jobject obj)
|
||||
JNIEXPORT void Java_com_b44t_messenger_DcContext_unrefContextCPtr(JNIEnv *env, jobject obj)
|
||||
{
|
||||
dc_context_unref(get_dc_context(env, obj));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user