Skip to content

Commit

Permalink
Pass 3
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperxpro committed Aug 28, 2023
1 parent 13e8bb8 commit abb0464
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void backlogQueue(ConcurrentLinkedQueue<Object> newQueue) {
*/
public synchronized void close() {
// If Backlog Queue contains something then clear it before closing connection.
if (!backlogQueue.isEmpty()) {
if (backlogQueue != null && !backlogQueue.isEmpty()) {
clearBacklog();
}

Expand Down

0 comments on commit abb0464

Please sign in to comment.