Browse Source

[master] Revert one change from #2398

Removed the socket.shutdown() before socket.close() again, this seemed to cause some errors with the statistics tests (which we will look into separately)

Discussed on jabber
Jelte Jansen 12 years ago
parent
commit
9a5e89e0e6
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/bin/msgq/msgq.py.in

+ 0 - 1
src/bin/msgq/msgq.py.in

@@ -239,7 +239,6 @@ class MsgQ:
         self.subs.unsubscribe_all(sock)
         lname = [ k for k, v in self.lnames.items() if v == sock ][0]
         del self.lnames[lname]
-        sock.shutdown(socket.SHUT_RDWR)
         sock.close()
         del self.sockets[fd]
         if fd in self.sendbuffs: