mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 14:27:24 +00:00
More cleaning up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
eed0650ff2
commit
7c76fff135
@ -986,17 +986,8 @@ public class CallActivity extends AppCompatActivity {
|
||||
if (localMediaStream.audioTracks != null && localMediaStream.audioTracks.size() > 0) {
|
||||
localMediaStream.removeTrack(localMediaStream.audioTracks.get(0));
|
||||
}
|
||||
|
||||
localMediaStream.dispose();
|
||||
}
|
||||
|
||||
if (localVideoTrack != null) {
|
||||
localVideoTrack.dispose();
|
||||
}
|
||||
|
||||
if (localAudioTrack != null) {
|
||||
localAudioTrack.dispose();
|
||||
}
|
||||
|
||||
localVideoTrack = null;
|
||||
localAudioTrack = null;
|
||||
|
Loading…
Reference in New Issue
Block a user