ScutGame / Scut

Scut is a free, open source, stable game server framework, which support C#/Python/Lua script, and support Unity3d, Cocos2dx, FlashAir client access.
1.33k stars 577 forks source link

ObjectDisposedException in IO_Completed #22

Open kybird opened 8 years ago

kybird commented 8 years ago

With TCP mode

Test with ZyTest tool configured 100 thread and 100 runtimes

SocketListener.cs IO_Completed method have ObjectDisposedException.

Reason: GameSession manage session and it delete socket that is waiting process

p.s you can reproduce this easily by change timeout parameter and interval OnSessionClear method