def _finalCleanup(self):
        """
        Clean up all of our connections by issuing application-level close and
        stop notifications, sending hail-mary final FIN packets (which may not
        reach the other end, but nevertheless can be useful) when possible.
        """
        for conn in self._connections.values():
            conn.releaseConnectionResources()
        assert not self._connections
def _finalCleanup ( self ) : for conn in self . _connections . values ( ) : conn . releaseConnectionResources ( ) assert not self . _connections
Clean up all of our connections by issuing application-level close and
        stop notifications, sending hail-mary final FIN packets (which may not
        reach the other end, but nevertheless can be useful) when possible.