@synchronized(lock)<EOL><INDENT>def unsubscribe(self, connection, destination):<DEDENT>
self.log.debug("<STR_LIT>" % (connection, destination))<EOL>if connection in self._queues[destination]:<EOL><INDENT>self._queues[destination].remove(connection)<EOL><DEDENT>if not self._queues[destination]:<EOL><INDENT>del self._queues[destination]<EOL><DEDENT>
Unsubscribes a connection from a destination (topic or queue).

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

@param destination: The topic/queue destination (e.g. '/queue/foo')
@type destination: C{str}