Refix for long running clients (r5483). I must have introduced this at the last minute when switching my original -32768 to use Short.MIN_VALUE instead, forgetting to remove the negation
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5490 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -352,7 +352,7 @@ public class InvocationDirector
|
||||
// make the values in our _listeners map reliable. Cleverer ways to wrapround may exist.
|
||||
var current :int = _requestId;
|
||||
if (_requestId == Short.MAX_VALUE) { // x7fff
|
||||
_requestId = -Short.MIN_VALUE; // x8000
|
||||
_requestId = Short.MIN_VALUE; // x8000
|
||||
} else {
|
||||
_requestId++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user