Skip to content

Commit

Permalink
fix: πŸ› make KookReceiver restart method synchronized
Browse files Browse the repository at this point in the history
  • Loading branch information
AnzhiZhang committed Feb 9, 2023
1 parent cf35067 commit 1651c94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void shutdown() {
websocket.close(1000, null);
}

public void restart() {
synchronized public void restart() {
shutdown();
start();
}
Expand Down

0 comments on commit 1651c94

Please sign in to comment.