def destroy(self):
        for user in self._users.copy():
            user.destroy()

        assert len(self._users) == 0

        self._interface.unregisterConnection(self)
        self._interface = None

        self._protocol.unregisterConnection(self)
        self._protocol = None
Process and output object by object.
dataset/ETHPy150Open rapyuta/rce/rce-core/rce/core/network.py/InterfaceConnection.destroy--crossover with--dataset/ETHPy150Open j-bennet/wharfee/wharfee/formatter.py/JsonStreamDumper.output