javacommons/comms/src/commsendpointnative.cpp
changeset 87 1627c337e51e
parent 21 2a9601315dfc
--- a/javacommons/comms/src/commsendpointnative.cpp	Fri Oct 15 12:29:39 2010 +0300
+++ b/javacommons/comms/src/commsendpointnative.cpp	Fri Oct 29 11:49:32 2010 +0300
@@ -162,13 +162,13 @@
 }
 
 JNIEXPORT void JNICALL Java_com_nokia_mj_impl_comms_CommsEndpointBase__1detach(
-    JNIEnv*,
+    JNIEnv* aEnv,
     jobject,
     jint aHandle)
 {
     JELOG2(EJavaComms);
     CommsEndpoint* endpoint = reinterpret_cast<CommsEndpoint*>(aHandle);
-    endpoint->detachFromVm();
+    endpoint->detachFromVm(aEnv);
 }
 
 // CommsEndpoint methods