summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2005-08-17 21:27:41 (GMT)
committerKevin B Kenny <kennykb@acm.org>2005-08-17 21:27:41 (GMT)
commit2d51756d2fb2a61608c90343aeca6f945b3cd381 (patch)
treec7b25a88d58f691dc9196af50628664ec53763cb /generic
parent5b8ceaef9457a0e83b4489ca281eddf6d04ba1c7 (diff)
downloadtcl-2d51756d2fb2a61608c90343aeca6f945b3cd381.zip
tcl-2d51756d2fb2a61608c90343aeca6f945b3cd381.tar.gz
tcl-2d51756d2fb2a61608c90343aeca6f945b3cd381.tar.bz2
fixed bad clock test, removed duplicated code in Tcl_Finalize
Diffstat (limited to 'generic')
-rw-r--r--generic/tclEvent.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 270e11b..cea3a15 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclEvent.c,v 1.63 2005/08/11 22:06:47 kennykb Exp $
+ * RCS: @(#) $Id: tclEvent.c,v 1.64 2005/08/17 21:27:41 kennykb Exp $
*/
#include "tclInt.h"
@@ -973,24 +973,6 @@ Tcl_Finalize()
TclResetFilesystem();
/*
- * We defer unloading of packages until very late to avoid memory
- * access issues. Both exit callbacks and synchronization variables
- * may be stored in packages.
- *
- * Note that TclFinalizeLoad unloads packages in the reverse of the
- * order they were loaded in (i.e. last to be loaded is the first to
- * be unloaded). This can be important for correct unloading when
- * dependencies exist.
- *
- * Once load has been finalized, we will have deleted any temporary
- * copies of shared libraries and can therefore reset the filesystem
- * to its original state.
- */
-
- TclFinalizeLoad();
- TclResetFilesystem();
-
- /*
* At this point, there should no longer be any ckalloc'ed memory.
*/