Skip to content

Disconnect method #38

merged 1 commit into from Dec 13, 2011

2 participants


I was running a process that would login to gmail parse messages, logout and repeat. Unfortunately the number of open TCP sockets for this process kept increasing with time and at some point (hours later) my process crashed with a Too many open connections error.

Added a disconnect method which basically calls @imap.disconnect. Let me know if you need me to tweak it. Thanks for the library.

@myobie myobie merged commit aff69cf into dcparker:master Dec 13, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.