summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-09-20 09:11:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-09-20 09:11:51 (GMT)
commitc4175e0434a242a24610b0c3a70214885b897006 (patch)
tree4b51e2a3e138aef4455508d399c559f8ee3fced3 /generic
parenta28b7ede49c7e21c0d7150cca682433e94a78464 (diff)
downloadtcl-c4175e0434a242a24610b0c3a70214885b897006.zip
tcl-c4175e0434a242a24610b0c3a70214885b897006.tar.gz
tcl-c4175e0434a242a24610b0c3a70214885b897006.tar.bz2
Make sure that panic's during finalization are handled by the custom panicproc not by the default panicproc, because stderr might not be available.
When the default panicproc is in use, this doesn't make any difference.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclEvent.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 686b80d..941d566 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -1171,8 +1171,6 @@ Tcl_Finalize(void)
TclFinalizeEncodingSubsystem();
- Tcl_SetPanicProc(NULL);
-
/*
* Repeat finalization of the thread local storage once more. Although
* this step is already done by the Tcl_FinalizeThread call above, series