summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-12-14 16:55:24 +0000
committerChristopher Faylor <me@cgf.cx>2003-12-14 16:55:24 +0000
commitf6393387ef5f8b9ebb219abb4cb50da06491ba83 (patch)
treeb6c107684065e75ecbe867069d7c9899f9d8e913 /winsup/cygwin/exceptions.cc
parentc350feda2096e2446bf7cc0b97019eed7386400d (diff)
downloadcygnal-f6393387ef5f8b9ebb219abb4cb50da06491ba83.tar.gz
cygnal-f6393387ef5f8b9ebb219abb4cb50da06491ba83.tar.bz2
cygnal-f6393387ef5f8b9ebb219abb4cb50da06491ba83.zip
* exceptions.cc (ctrl_c_handler): Remove this thread from the signal handler
chain.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index a47951936..29323ae7b 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -899,6 +899,7 @@ static BOOL WINAPI
ctrl_c_handler (DWORD type)
{
static bool saw_close;
+ _my_tls.remove ();
/* Return FALSE to prevent an "End task" dialog box from appearing
for each Cygwin process window that's open when the computer