Skip to content
Success

Changes

Summary

  1. Only use interrupts when we recover zombie connections (commit: ea36b98) (details)
Commit ea36b98f28f839fe59908ddcf2c68449d03fca71 by Florian Spieß
Only use interrupts when we recover zombie connections

The disconnect() method interrupts the read thread.
This can become problematic for various reasons.
However, if we are in a zombie state we need to use this method
because it will kill the read thread appropriately.
(commit: ea36b98)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java (diff)