Skip to content

Commit

Permalink
avoid NPE for synchronization issues on board list
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Mar 25, 2016
1 parent 6d00bee commit cbea7a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void start(Timer timer) {
timer.schedule(this, 0, 1000);
}

public void retriggerDiscovery() {
public synchronized void retriggerDiscovery() {
while (BaseNoGui.packages == null) {
try {
Thread.sleep(1000);
Expand Down

0 comments on commit cbea7a5

Please sign in to comment.