Skip to content

Instantly share code, notes, and snippets.

@enginebai
Created May 14, 2022 14:13
Show Gist options
  • Save enginebai/62327ecbab44bed56298906e642506d4 to your computer and use it in GitHub Desktop.
Save enginebai/62327ecbab44bed56298906e642506d4 to your computer and use it in GitHub Desktop.
override fun onDestroy() {
context = null
observable.dispose()
db.close()
connection.disconnect()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment