mirror of
https://github.com/InsanusMokrassar/SauceNaoAPI.git
synced 2025-09-16 05:30:20 +00:00
hotfix
This commit is contained in:
@@ -67,7 +67,7 @@ data class SauceNaoAPI(
|
||||
requestsChannel.send(callback to requestBuilder)
|
||||
} catch (e: Exception) {
|
||||
try {
|
||||
callback.resume(e)
|
||||
callback.resumeWithException(e)
|
||||
} catch (e: IllegalStateException) { // may happen when already resumed and api was closed
|
||||
// do nothing
|
||||
}
|
||||
|
Reference in New Issue
Block a user