Message6265
Here's a work-around that can be put at the end of a program's main application code:
# work around Jython bug that kills Swing thread on main exit
import threading
while True:
alive = False
for thread in threading.enumerate():
if not thread.isDaemon():
alive = True
thread.join(2)
if not alive:
sys.exit(0) |
|
Date |
User |
Action |
Args |
2010-12-01 10:24:16 | scoder | set | messageid: <1291199056.76.0.283814734652.issue1675@psf.upfronthosting.co.za> |
2010-12-01 10:24:16 | scoder | set | recipients:
+ scoder, otmarhumbel, zyasoft, MrMeanie, alex.gronholm |
2010-12-01 10:24:16 | scoder | link | issue1675 messages |
2010-12-01 10:24:16 | scoder | create | |
|