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;
|
activityRunning = false;
|
||||||
rootEglBase.release();
|
rootEglBase.release();
|
||||||
|
if (cpuMonitor != null) {
|
||||||
cpuMonitor.release();
|
cpuMonitor.release();
|
||||||
|
}
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user