Permalink
Browse files

Merge branch 'master' of https://github.com/eday/Haraka

  • Loading branch information...
2 parents 7783367 + 4c53d1a commit f57b6ea7dfd920fce4e5ac9e50648a4c62135931 @godsflaw godsflaw committed Apr 13, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 smtp_client.js
View
3 smtp_client.js
@@ -119,6 +119,9 @@ function SMTPClient(port, host, timeout, enable_tls) {
if (self.state == STATE_IDLE) {
self.state = STATE_DEAD;
}
+ else if (self.state == STATE_RELEASED) {
+ self.destroy();
+ }
}
};
};

0 comments on commit f57b6ea

Please sign in to comment.