mirror of
https://github.com/etesync/android
synced 2024-12-23 07:08:16 +00:00
Fix potential crash when opening and stopping the app very quickly.
This commit is contained in:
parent
cc73f854c2
commit
fe980f937e
@ -294,7 +294,7 @@ class AccountActivity : BaseActivity(), Toolbar.OnMenuItemClickListener, PopupMe
|
||||
}
|
||||
|
||||
override fun onStopLoading() {
|
||||
davService!!.removeRefreshingStatusListener(this)
|
||||
davService?.removeRefreshingStatusListener(this)
|
||||
context.unbindService(this)
|
||||
|
||||
if (syncStatusListener != null)
|
||||
|
Loading…
Reference in New Issue
Block a user