git-gui: ensure correct application termination in git-gui--askpass
commitaef0b48ef05b5980d2f3a1e4bc14b70d9688d59b
authorPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 18 Aug 2010 22:19:24 +0000 (18 23:19 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 18 Aug 2010 22:19:24 +0000 (18 23:19 +0100)
treea5c1de6b71fda426ac7e2cd220a8364e99ac8d92
parentd5257fb3c1decc1eff296a0ae2afbcaee28d0f2c
git-gui: ensure correct application termination in git-gui--askpass

With Tk 8.5 the askpass utility can hang waiting for the wish shell
implicit event loop to exit. This patch uses an explicit event loop
to ensure correct application termination.

Reported-by: Anders Kaseorg <andersk@mit.edu>
Tested-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
git-gui--askpass