Skip to content

Commit 319bc8f

Browse files
author
Julien Poulton
committed
Merge branch 'master' into 'fix-dsk-upgrade-player'
# Conflicts: # playground/misc/misc-3-release-notes.md
2 parents be593d1 + 176e151 commit 319bc8f

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

playground/misc/misc-3-release-notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The CodinGame SDK is regularly updated and improved. This document lets you know
99
- `Invalid negative values for colours no longer crash the game`
1010
- `Fixed missing line breaks in the Game Summary console`
1111
- `Frames now start at 0 in local test page`
12+
- `Better error reporting on player agent crash`
13+
- `Multiple commands can now be launched with CommandLinePlayerAgent`
1214
- `Games now require less RAM in the CodinGame IDE`
1315

1416
## 3.4.8

runner/src/main/java/com/codingame/gameengine/runner/GameRunner.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ private void bootstrapPlayers() {
9595
throw new RuntimeException("Bootstrap of all players failed to bootsrap");
9696
}
9797

98-
bootstrapPlayersWait();
99-
10098
for (Agent agent : players) {
10199
BlockingQueue<String> queue = new ArrayBlockingQueue<>(1024);
102100
AsynchronousWriter asyncWriter = new AsynchronousWriter(queue, agent.getInputStream());
@@ -106,14 +104,6 @@ private void bootstrapPlayers() {
106104
}
107105
}
108106

109-
private void bootstrapPlayersWait() {
110-
try {
111-
// Arbitrary time to wait for bootstrap
112-
Thread.sleep(300);
113-
} catch (InterruptedException e) {
114-
}
115-
}
116-
117107
private void runAgents() {
118108
referee.execute();
119109

0 commit comments

Comments
 (0)