From afda1da9c3106d1c2f961dcfd0f5ab658600841f Mon Sep 17 00:00:00 2001 From: zab2 <zab2@mail.i2p> Date: Sat, 10 Aug 2013 21:00:09 +0000 Subject: [PATCH] volatile --- .../streaming/java/src/net/i2p/client/streaming/Connection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/streaming/java/src/net/i2p/client/streaming/Connection.java b/apps/streaming/java/src/net/i2p/client/streaming/Connection.java index 3099cfd300..7b28db9157 100644 --- a/apps/streaming/java/src/net/i2p/client/streaming/Connection.java +++ b/apps/streaming/java/src/net/i2p/client/streaming/Connection.java @@ -30,7 +30,7 @@ class Connection { private Destination _remotePeer; private long _sendStreamId; private long _receiveStreamId; - private long _lastSendTime; + private volatile long _lastSendTime; private final AtomicLong _lastSendId; private boolean _resetReceived; private boolean _resetSent; -- GitLab