SSU: Add volatile (ticket #2260)

This commit is contained in:
zzz
2018-06-19 10:26:57 +00:00
parent d500f61738
commit 5592992b73

View File

@@ -53,7 +53,7 @@ class OutboundMessageFragments {
/**
* Avoid sync in add() if possible (not 100% reliable)
*/
private boolean _isWaiting;
private volatile boolean _isWaiting;
private volatile boolean _alive;
private final PacketBuilder _builder;