Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: webrtc/sdk/android/src/jni/pc/peerconnection_jni.cc

Issue 3010433002: Android: Don't check ref count when releasing PeerConnectionInterface (Closed)
Patch Set: Rebase Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/android/src/jni/pc/peerconnection_jni.cc
diff --git a/webrtc/sdk/android/src/jni/pc/peerconnection_jni.cc b/webrtc/sdk/android/src/jni/pc/peerconnection_jni.cc
index 65ca2fd43812bae2eb5ed30543fef33274fe872c..35b742bc9e8f42f1d15b7d638e0c19b7aee2d54a 100644
--- a/webrtc/sdk/android/src/jni/pc/peerconnection_jni.cc
+++ b/webrtc/sdk/android/src/jni/pc/peerconnection_jni.cc
@@ -62,7 +62,7 @@ JNI_FUNCTION_DECLARATION(void,
JNIEnv*,
jclass,
jlong j_p) {
- CHECK_RELEASE(reinterpret_cast<webrtc::PeerConnectionInterface*>(j_p));
+ reinterpret_cast<webrtc::PeerConnectionInterface*>(j_p)->Release();
}
JNI_FUNCTION_DECLARATION(void,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698