mirror of
https://github.com/etesync/android
synced 2024-11-26 01:48:34 +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() {
|
override fun onStopLoading() {
|
||||||
davService!!.removeRefreshingStatusListener(this)
|
davService?.removeRefreshingStatusListener(this)
|
||||||
context.unbindService(this)
|
context.unbindService(this)
|
||||||
|
|
||||||
if (syncStatusListener != null)
|
if (syncStatusListener != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user