@synchronized(lock)<EOL><INDENT>def disconnect(self, connection):<DEDENT>
self.log.debug("<STR_LIT>" % connection)<EOL>for dest in list(self._topics.keys()):<EOL><INDENT>if connection in self._topics[dest]:<EOL><INDENT>self._topics[dest].remove(connection)<EOL><DEDENT>if not self._topics[dest]:<EOL><INDENT>del self._topics[dest]<EOL><DEDENT><DEDENT>
Removes a subscriber connection.

@param connection: The client connection to unsubscribe.
@type connection: L{coilmq.server.StompConnection}