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)
commit9e6b54e433d9d2908605f52a434d242c7148818b (patch)
tree4b51e2a3e138aef4455508d399c559f8ee3fced3 /generic
parent39fcdc3c6ed18f10c1863adb97ae83e29ad5ea0e (diff)
downloadtcl-9e6b54e433d9d2908605f52a434d242c7148818b.zip
tcl-9e6b54e433d9d2908605f52a434d242c7148818b.tar.gz
tcl-9e6b54e433d9d2908605f52a434d242c7148818b.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