Files
Jan Tomášek 188cff2073 Move optional runtimes into persistent gVisor plugin sandboxes
Move tunnel, browser, document, speech and integration runtimes into plugin-owned
sandboxes with lazy dependencies and instance-scoped lifecycle management.
Reuse Tuxee display assets and the sandbox image's Python/Node runtimes, enable
automatic Desktop login, and show elapsed time for each browser launch.

Slim the outer image, use offline ONNX embeddings, and calculate sandbox storage
only on demand. Include regression coverage and updated runtime documentation.
Exclude local handoff notes and temporary verification artifacts from publication.
2026-11-08 21:43:22 +01:00

14 lines
433 B
Python

"""Retain mailbox UID state and attachments when stopping the guest."""
def disable():
from plugins._email_integration.helpers.sandbox import worker
from plugins._email_integration.helpers.handler import _poll_tasks
for task in list(_poll_tasks.values()):
if not task.done():
task.get_loop().call_soon_threadsafe(task.cancel)
_poll_tasks.clear()
worker.stop()
def uninstall():
disable()