[Spambayes-checkins] spambayes/windows pop3proxy_tray.py,1.2,1.3
Adam Walker
xenogeist at users.sourceforge.net
Mon Sep 1 15:56:22 EDT 2003
Update of /cvsroot/spambayes/spambayes/windows
In directory sc8-pr-cvs1:/tmp/cvs-serv10626/windows
Modified Files:
pop3proxy_tray.py
Log Message:
Be nice and stop the proxy before exiting the app.
Index: pop3proxy_tray.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/windows/pop3proxy_tray.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pop3proxy_tray.py 1 Sep 2003 21:46:26 -0000 1.2
--- pop3proxy_tray.py 1 Sep 2003 21:56:20 -0000 1.3
***************
*** 134,137 ****
--- 134,140 ----
def OnExit(self):
+ if self.started:
+ pop3proxy.stop(pop3proxy.state)
+ self.started = False
DestroyWindow(self.hwnd)
sys.exit()
More information about the Spambayes-checkins
mailing list