Fix bugs in NetMarshalClient.
This commit is contained in:
parent
e3f294c090
commit
93b40d57a3
@ -121,6 +121,8 @@ public class NetMarshalClient implements Closeable {
|
||||
}
|
||||
fragmentReceiver.clearRegistry();
|
||||
fragmentSender.clearRegistry();
|
||||
fragmentRMM.clear();
|
||||
fragmentSMM.clear();
|
||||
}, "thread_frag_monitor_" + remoteAddress.getHostAddress() + ":" + remotePort);
|
||||
fragmentFinishReceiveMonitorThread = new Thread(() -> {
|
||||
while (running) {
|
||||
@ -145,7 +147,7 @@ public class NetMarshalClient implements Closeable {
|
||||
}
|
||||
}
|
||||
fragmentSender.clearLastIDFinished();
|
||||
}, "thread_frag_fin_recv_monitor_" + remoteAddress.getHostAddress() + ":" + remotePort);
|
||||
}, "thread_frag_fin_send_monitor_" + remoteAddress.getHostAddress() + ":" + remotePort);
|
||||
receiveThread = new Thread(() -> {
|
||||
while (running) receiveThreadExecutedWithFragmentation();
|
||||
fragmentReceiver.clearWaitingPackets();
|
||||
|
Loading…
Reference in New Issue
Block a user