Fix incorrect screen and crash when encountering replay restrictions

This commit is contained in:
Jonas Herzig
2020-05-24 13:39:15 +02:00
parent fabe4783c8
commit ef13d020a2

View File

@@ -342,6 +342,9 @@ public class FullReplaySender extends ChannelDuplexHandler implements ReplaySend
* Terminate this replay sender. * Terminate this replay sender.
*/ */
public void terminateReplay() { public void terminateReplay() {
if (terminate) {
return;
}
terminate = true; terminate = true;
events.unregister(); events.unregister();
try { try {