MCPcopy Create free account
hub / github.com/HisMax/RedInk / cleanup_task

Method cleanup_task

backend/services/image.py:902–905  ·  view source on GitHub ↗

清理任务状态(释放内存)

(self, task_id: str)

Source from the content-addressed store, hash-verified

900 return self._task_states.get(task_id)
901
902 def cleanup_task(self, task_id: str):
903 """清理任务状态(释放内存)"""
904 if task_id in self._task_states:
905 del self._task_states[task_id]
906
907
908# 全局服务实例

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected