Remove VM upload layer; keep file picker only
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
"""Удаление сессии."""
|
||||
|
||||
from .state import _lock, _sessions
|
||||
|
||||
|
||||
def cleanup(sid: str):
|
||||
"""Удалить сессию и остановить её TTL-таймер."""
|
||||
|
||||
with _lock:
|
||||
session = _sessions.pop(sid, None)
|
||||
if session and session.get("timer"):
|
||||
session["timer"].cancel()
|
||||
Reference in New Issue
Block a user