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:
parent
cc4655f926
commit
b776c23f61
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user