Commit 62094088 authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed "dictionary changed size during iteration" on connection shutdown

parent 67856eaf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -423,7 +423,7 @@ class RpcConnection(object):
            watcher.stop()

        # Shutdown each registered protocols:
        for proto in self._protocols.itervalues():
        for proto in self._protocols.values():
            proto.shutdown()

        # Close the connection socket: