diff contrib/setup3k.py @ 14104:23fc62e0a960 stable

zeroconf: notify the Zeroconf threads when hg exits Zeroconf launches two threads in the background, and they wait on Condition objects to exit. We need to call Zeroconf.close() to release those conditions so that threads can gracefully exit. This means that an interrupt on the hg process will now gracefully propagate to the Zeroconf children, fixing that bug which did not allow us to kill an `hg serve` process.
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Sat, 30 Apr 2011 19:36:59 +0200
parents 4c50552fc9bc
children bcba68e81a81 f4bc0b9e03a4
line wrap: on
line diff