SSU: Restore sync dropped in cleanup

This commit is contained in:
zzz
2020-12-12 11:00:03 -05:00
parent ab04f92072
commit aa181ee43f

View File

@ -718,7 +718,7 @@ public class PeerState {
* We received the message specified completely.
* @param bytes if less than or equal to zero, message is a duplicate.
*/
void messageFullyReceived(Long messageId, int bytes) {
synchronized void messageFullyReceived(Long messageId, int bytes) {
if (bytes > 0) {
_receiveBytes += bytes;
_messagesReceived++;