Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaljaz committed Dec 29, 2023
1 parent c399fac commit ad6b4ba
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ public void onError(Exception ex) {

@Override
public void onDisable() {
socket.close();
if(socket != null){
socket.close();
}
}
}

0 comments on commit ad6b4ba

Please sign in to comment.