But was wondering if something like what metalab's...
# anko
a
But was wondering if something like what metalab's library does (https://github.com/metalabdesign/AsyncAwait), which is having a way of cancelling coroutines in
onDestroy
. I tried keeping a reference of the deferred object
async
returns and call
cancel
in
onDestroy
, and even setting it to null after that, but it keeps leaking the activity