summaryrefslogtreecommitdiffstats
path: root/wallace
diff options
context:
space:
mode:
Diffstat (limited to 'wallace')
-rw-r--r--wallace/module_resources.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/wallace/module_resources.py b/wallace/module_resources.py
index 3bc62fc..cd92e3c 100644
--- a/wallace/module_resources.py
+++ b/wallace/module_resources.py
@@ -436,6 +436,9 @@ def execute(*args, **kw):
send_response(original_resource['mail'], itip_event)
+ auth.disconnect()
+ del auth
+
# Disconnect IMAP or we lock the mailbox almost constantly
imap.disconnect()
del imap
@@ -589,6 +592,8 @@ def resource_record_from_email_address(email_address):
resource_records = [ resource_records ]
+ auth.disconnect()
+
return resource_records
def resource_records_from_itip_events(itip_events):
@@ -722,6 +727,8 @@ def resource_records_from_itip_events(itip_events):
level=8
)
+ auth.disconnect()
+
return resource_records
def send_response(from_address, itip_events):