Fix dead lock when jumping after end of replay has been reached
This commit is contained in:
@@ -542,7 +542,7 @@ public class ReplaySender extends ChannelInboundHandlerAdapter {
|
|||||||
// Pause the replay which will cause it to freeze before getting restarted
|
// Pause the replay which will cause it to freeze before getting restarted
|
||||||
setReplaySpeed(0);
|
setReplaySpeed(0);
|
||||||
// Then wait until the user tells us to continue
|
// Then wait until the user tells us to continue
|
||||||
while (paused() && hasWorldLoaded && desiredTimeStamp == -1) {
|
while (paused() && hasWorldLoaded && desiredTimeStamp == -1 && !terminate) {
|
||||||
Thread.sleep(10);
|
Thread.sleep(10);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user