Fixes a bug where AppRTC Android Demo crashes with empty roomId.
BUG= R=magjed@webrtc.org Review URL: https://codereview.webrtc.org/1975743002 . Cr-Commit-Position: refs/heads/master@{#12759}
This commit is contained in:
@ -308,7 +308,9 @@ public class CallActivity extends Activity
|
||||
}
|
||||
activityRunning = false;
|
||||
rootEglBase.release();
|
||||
cpuMonitor.release();
|
||||
if (cpuMonitor != null) {
|
||||
cpuMonitor.release();
|
||||
}
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user