JNI fixes

This commit is contained in:
Simon Morlat 2013-09-25 12:07:44 +02:00
parent 732787687a
commit a6afcf99fb

View file

@ -646,7 +646,7 @@ public:
,jevent
,jstate
);
if (state==LinphoneSubscriptionTerminated || state==LinphoneSubscriptionError){
if (state==LinphoneSubscriptionTerminated){
/*loose the java reference */
linphone_event_set_user_data(ev,NULL);
env->DeleteGlobalRef(jevent);