mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
cleanup
This commit is contained in:
parent
87cdf7bedd
commit
5d77cda200
@ -797,7 +797,6 @@ public void ShutdownCleanup()
|
|||||||
{
|
{
|
||||||
// listen
|
// listen
|
||||||
NetworkServer.Listen(1);
|
NetworkServer.Listen(1);
|
||||||
Assert.That(NetworkServer.active, Is.True);
|
|
||||||
|
|
||||||
// add some test event hooks to make sure they are cleaned up.
|
// add some test event hooks to make sure they are cleaned up.
|
||||||
// there used to be a bug where they wouldn't be cleaned up.
|
// there used to be a bug where they wouldn't be cleaned up.
|
||||||
@ -806,7 +805,6 @@ public void ShutdownCleanup()
|
|||||||
|
|
||||||
// set local connection
|
// set local connection
|
||||||
NetworkServer.SetLocalConnection(new LocalConnectionToClient());
|
NetworkServer.SetLocalConnection(new LocalConnectionToClient());
|
||||||
Assert.That(NetworkServer.localClientActive, Is.True);
|
|
||||||
|
|
||||||
// connect a client
|
// connect a client
|
||||||
transport.ClientConnect("localhost");
|
transport.ClientConnect("localhost");
|
||||||
|
Loading…
Reference in New Issue
Block a user