fix(arch-a2): deactivation cleanup - container services, search provider, hook deregistration, notification sync, task state, activation order
Check Cross-Plugin Imports / check (push) Has been cancelled

This commit is contained in:
Agent Zero
2026-08-23 19:24:12 +02:00
parent 73d2e109cd
commit c21634b323
10 changed files with 154 additions and 29 deletions
+5 -1
View File
@@ -115,7 +115,11 @@ async def _auto_sync_loop() -> None:
class MailPlugin(BasePlugin):
"""Mail plugin for email management: IMAP sync, SMTP send, threading, rules, PGP."""
_auto_sync_task: asyncio.Task | None = None
def __init__(self) -> None:
super().__init__()
# Instance attribute: multiple plugin instances must not share the
# background task state (ARCH-036).
self._auto_sync_task: asyncio.Task | None = None
manifest = PluginManifest(
name="mail",