| Index: webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java
|
| diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java
|
| index 21092227ccabd0a1cc8fdbde87b497b382701636..ae653da63b53a0d2ef300ab4a013e9c666c98ef3 100644
|
| --- a/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java
|
| +++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java
|
| @@ -308,7 +308,9 @@ public class CallActivity extends Activity
|
| }
|
| activityRunning = false;
|
| rootEglBase.release();
|
| - cpuMonitor.release();
|
| + if (cpuMonitor != null) {
|
| + cpuMonitor.release();
|
| + }
|
| super.onDestroy();
|
| }
|
|
|
|
|