Server thread stops when window has been closed

This commit is contained in:
Michael Rausch
2017-05-04 12:35:36 +12:00
parent e37b244f45
commit 8521b68855
2 changed files with 3 additions and 3 deletions
@@ -98,7 +98,7 @@ public class ServerThread implements Runnable, Observer {
boatStatus = BoatStatus.PRESTART;
thereAreBoatsNotFinished = true;
}
BoatSubMessage m = new BoatSubMessage(b.getSourceID(), boatStatus, b.getLastPassedCorner().getSeqID(), 0, 0, b.getEstimatedTimeTillFinish(), b.getEstimatedTimeTillFinish());
boatSubMessages.add(m);
}