Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fun onCardDisposed(currencyId: Int) {
if (producers.containsKey(currencyId)) {
producers.getValue(currencyId).job.cancel()
producers.remove(currencyId)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment