Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Fix possible NPE in Channel. with new sync logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reimold committed Jun 16, 2015
1 parent 6a0f0b7 commit 4ab1a6b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ protected static Channel getInstance() {
*/
protected void synchronize() {
this.queue.flush();
Sender.getInstance().sendNextFile();
if(Sender.getInstance() != null) {
Sender.getInstance().sendNextFile();
}
}

/**
Expand Down

0 comments on commit 4ab1a6b

Please sign in to comment.