Skip to content

Commit

Permalink
Fix workaround for 'IllegalArgumentException: Receiver not registered…
Browse files Browse the repository at this point in the history
…' in blocks list.
  • Loading branch information
schildbach committed Oct 14, 2014
1 parent f17e642 commit 84f0510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wallet/src/de/schildbach/wallet/ui/BlockListFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ public void onPause()
// workaround: under high load, it can happen that onPause() is called twice (recursively via destroyLoader)
if (resumed)
{
resumed = false;

loaderManager.destroyLoader(ID_TRANSACTION_LOADER);
activity.unregisterReceiver(tickReceiver);

resumed = false;
}
else
{
Expand Down

0 comments on commit 84f0510

Please sign in to comment.