def run(self):
        while not self.stopping:
            time.sleep(5)
            try:
                session_managers = SessionManagerCleaner._session_managers[:]
                for session_manager_ref in session_managers:
                    session_manager = session_manager_ref()
                    if session_manager is None:
                        try:
                            SessionManagerCleaner._session_managers.remove(session_manager_ref)
                        except __HOLE__:
                            pass
                    else:
                        session_manager.delete_expired_sessions()

            except Exception as e:
                if DEBUGGING:
                    print("Error!",e)
                    import traceback
                    traceback.print_exc()
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/voodoo/sessions/manager.py/SessionManagerCleaner.run