diff --git a/app/src/main/java/io/legado/app/ui/search/SearchViewModel.kt b/app/src/main/java/io/legado/app/ui/search/SearchViewModel.kt index 096d8643e..8fdf5e22d 100644 --- a/app/src/main/java/io/legado/app/ui/search/SearchViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/search/SearchViewModel.kt @@ -40,6 +40,7 @@ class SearchViewModel(application: Application) : BaseViewModel(application) { task?.invokeOnCompletion { Log.e("TAG", "complete") + finally?.invoke() } }