Always logout() on imaplib2 objects, even during exceptions
Without this, trying to Ctrl-C out of offlineimap will go into a hang. Signed-off-by: Ethan Glasser-Camp <ethan@betacantrips.com> Reviewed-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:

committed by
Nicolas Sebrecht

parent
51b89e6c43
commit
105da1b0c3
@ -19,6 +19,8 @@ Changes
|
||||
Bug Fixes
|
||||
---------
|
||||
|
||||
* Fix hang when using Ctrl+C in some cases.
|
||||
|
||||
|
||||
Pending for the next major release
|
||||
==================================
|
||||
|
Reference in New Issue
Block a user