1 May
2003
1 May
'03
1:38 a.m.
On Wed, 30 Apr 2003 23:28:31 +0100 Jon Dyte <jon@totient.demon.co.uk> wrote:
Below is a small script. My question is what is the correct way to exit after using the adbapi stuff. The script as it stands just hangs the terminal until I Ctrl-Z and kill it.
You don't want a reactor.crash() and a reactor.stop(). Just do reactor.stop(). Using threads can make your python program not exit if they hang around, but reactor.stop() should shut down all threads in the thread pool. -- Itamar Shtull-Trauring http://itamarst.org/ http://www.zoteca.com -- Python & Twisted consulting