From c285bf6da7ccfbec1953a4edbb46578fff48aacd Mon Sep 17 00:00:00 2001 From: "Nelson R. Perez" Date: Mon, 4 Feb 2019 21:02:41 -0500 Subject: [PATCH] Completed the comments to the onCleared function --- .../bitsybitshareswallet/repositories/TransferRepository.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/repositories/TransferRepository.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/repositories/TransferRepository.kt index b31e5b3..55b029d 100644 --- a/app/src/main/java/cy/agorise/bitsybitshareswallet/repositories/TransferRepository.kt +++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/repositories/TransferRepository.kt @@ -150,7 +150,8 @@ class TransferRepository internal constructor(context: Context) { * Called whenever the disposables have to be cleared. * * Since this repository manages a subscription it is necessary to clear the disposable after we're done with it. - * The parent ViewModel will let us know when that + * The parent ViewModel will let us know when that subscription is no longer necessary and the resources can + * be cleared. */ fun onCleared() { if(!compositeDisposable.isDisposed)