fix: don't attempt to reconnect when the bot is stopping
This commit is contained in:
@@ -363,6 +363,8 @@ public class Bot extends SessionAdapter {
|
||||
|
||||
if (printDisconnectedCause && cause != null) logger.error(cause);
|
||||
|
||||
if (Main.stopping) return;
|
||||
|
||||
if (!isTransferring) cookies.clear();
|
||||
|
||||
int reconnectDelay = options.reconnectDelay;
|
||||
|
||||
Reference in New Issue
Block a user