Bug in Network code (osx)

i have discovered a “bug” in the network code, which causes panda to lock up under intel-osx (i havent tested other platforms).

If you try to send a package to a client which has been disconnected (by resetConnectionAvailable), only a kill -9 can stop the panda application. I think it only happens during the same frame, the lockup doesnt seem to happen if data is sent at a later time.

Right, that’s a deadlock that only exists when HAVE_THREADS is defined. I just discovered it myself, and have already checked in a fix.

david