Skip to content

Commit

Permalink
2012-9-12 注销内部广播接收器(by @tingzi)
Browse files Browse the repository at this point in the history
  • Loading branch information
jxsmallmouse committed Sep 12, 2012
1 parent 0e955ad commit 272d89c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/net/oschina/app/ui/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,12 @@ protected void onResume() {
mScrollLayout.setIsScroll(appContext.isScroll());
}

@Override
protected void onDestroy() {
super.onDestroy();
unregisterReceiver(tweetReceiver);
}

@Override
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);
Expand Down

0 comments on commit 272d89c

Please sign in to comment.