Fix Sky not to crash when clicking the Home button.

Fixes https://github.com/domokit/mojo/issues/212

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1173153002.
This commit is contained in:
Eric Seidel 2015-06-10 13:20:41 -07:00
parent cc4655f926
commit b776c23f61

View File

@ -39,13 +39,13 @@ public class SkyActivity extends Activity {
} }
/** /**
* @see android.app.Activity#onStop() * @see android.app.Activity#onDestroy()
*/ */
@Override @Override
protected void onStop() { protected void onDestroy() {
// Do we need to shut down Sky too? // Do we need to shut down Sky too?
mTracingController.stop(); mTracingController.stop();
super.onStop(); super.onDestroy();
} }
public void loadUrl(String url) { public void loadUrl(String url) {