Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Commit a2feb4e

Browse files
committed
ws: closed > closing
1 parent d044ff2 commit a2feb4e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/java/me/zhenxin/qqbot/core/WSClient.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,9 @@ public WSClient(String url) {
4444
event.setClient(this);
4545
}
4646

47-
@Override
48-
public void onClosed(@NotNull WebSocket webSocket, int code, @NotNull String reason) {
49-
event.onClientClose(code, reason);
50-
}
51-
5247
@Override
5348
public void onClosing(@NotNull WebSocket webSocket, int code, @NotNull String reason) {
49+
event.onClientClose(code, reason);
5450
open = false;
5551
}
5652

0 commit comments

Comments
 (0)