summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2008-08-01 18:22:27 (GMT)
committerhobbs <hobbs>2008-08-01 18:22:27 (GMT)
commite8eb91c8acb09e341223b15de621f7ef1c8131f9 (patch)
tree34e65cd7252bbe4a9768ac6bf2ff2c3194147b02 /generic/tclEvent.c
parent4500f56474ce572532e86d38956af8fe69eb9d7d (diff)
downloadtcl-e8eb91c8acb09e341223b15de621f7ef1c8131f9.zip
tcl-e8eb91c8acb09e341223b15de621f7ef1c8131f9.tar.gz
tcl-e8eb91c8acb09e341223b15de621f7ef1c8131f9.tar.bz2
* doc/Exit.3: do not call Tcl_Finalize implicitly
* generic/tclEvent.c: on DLL_PROCESS_DETACH as it may lead * win/tclWin32Dll.c (DllMain): to issues and the user should be explicitly calling Tcl_Finalize before unloading regardless. Clarify the docs to note the explicit need in embedded use.
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 836d958..9e38f24 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.82 2008/06/13 05:45:10 mistachkin Exp $
+ * RCS: @(#) $Id: tclEvent.c,v 1.83 2008/08/01 18:22:28 hobbs Exp $
*/
#include "tclInt.h"
@@ -914,8 +914,9 @@ TclInitSubsystems(void)
* Tcl_Finalize --
*
* Shut down Tcl. First calls registered exit handlers, then carefully
- * shuts down various subsystems. Called by Tcl_Exit or when the Tcl
- * shared library is being unloaded.
+ * shuts down various subsystems. Called by Tcl_Exit, or should be
+ * invoked by user before the Tcl shared library is being unloaded in
+ * an embedded context.
*
* Results:
* None.