mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-27 16:12:48 +08:00
Avoid resource leak
This commit is contained in:
parent
d1fdddf9e6
commit
509be910c0
@ -88,8 +88,8 @@ internal abstract class AbstractKeepAliveNetworkHandlerSelector<H : NetworkHandl
|
||||
try {
|
||||
resumeConnection() // once finished, it should has been LOADING or OK
|
||||
} catch (e: LoginFailedException) {
|
||||
if (e is RetryLaterException) {
|
||||
close(e)
|
||||
if (e is RetryLaterException) {
|
||||
return
|
||||
}
|
||||
// LoginFailedException is not resumable
|
||||
|
Loading…
Reference in New Issue
Block a user