closeDatabase

abstract fun closeDatabase()

Closes the database connection.

This method should be called when the database is no longer needed to release resources and prevent memory leaks.