Index: webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
index 51ef32ea53881fdefe5ee288125416dcf1cf80f4..e720fe74145e837256e1035382ef7768527caaba 100644 |
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
@@ -911,11 +911,7 @@ public class PeerConnectionClient { |
executor.execute(new Runnable() { |
@Override |
public void run() { |
- if (peerConnection == null || isError) { |
- return; |
- } |
remoteVideoTrack = null; |
- stream.videoTracks.get(0).dispose(); |
} |
}); |
} |