Bah, don't include the PresentsDObjectMgr's state when trying to assert our
invariants. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5944 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -115,7 +115,7 @@ public class ConnectionManager extends LoopingThread
|
||||
Preconditions.checkArgument(ports != null, "Ports must be non-null.");
|
||||
Preconditions.checkArgument(datagramPorts != null, "Datagram ports must be non-null. " +
|
||||
"Pass a zero-length array to bind no datagram ports.");
|
||||
Preconditions.checkState(!isRunning(), "Must initialize before starting.");
|
||||
Preconditions.checkState(!super.isRunning(), "Must initialize before starting.");
|
||||
|
||||
_bindHostname = bindHostname;
|
||||
_ports = ports;
|
||||
|
||||
Reference in New Issue
Block a user