Skip to content

Commit

Permalink
fix IllegalStateException: Cannot perform this operation because the …
Browse files Browse the repository at this point in the history
…connection pool has been closed.
  • Loading branch information
kawaiiDango committed Apr 21, 2024
1 parent 2a32e63 commit e8d5340
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import com.arn.scrobble.api.github.GithubReleases
import com.arn.scrobble.api.github.Updater
import com.arn.scrobble.api.lastfm.LastFm
import com.arn.scrobble.api.lastfm.Track
import com.arn.scrobble.db.PanoDb
import com.arn.scrobble.friends.UserCached
import com.arn.scrobble.utils.Stuff
import kotlinx.coroutines.Dispatchers
Expand Down Expand Up @@ -95,7 +94,7 @@ class MainNotifierViewModel(application: Application) : AndroidViewModel(applica
}

override fun onCleared() {
PanoDb.destroyInstance()
// PanoDb.destroyInstance()
}

fun setFabData(fabData: FabData?) {
Expand Down

0 comments on commit e8d5340

Please sign in to comment.