

def close(self, streamgroup):
    if isinstance(streamgroup, IMLiveStreamGroup):
        server_sg = streamgroup._g
        ns = self._store[server_sg.namespace]
        del ns[streamgroup.name]
    return defer.succeed(None)

dataset/ETHPy150Open arkadini/twimp/twimp/server/inmemory.py IMServer.close/VarMisuse@42/56 `server_sg`->`streamgroup`