diff options
author | hobbs <hobbs@noemail.net> | 2008-08-01 18:22:27 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2008-08-01 18:22:27 (GMT) |
commit | ce2306d853a8512bdad5ecaafb32eca94ba2127e (patch) | |
tree | 34e65cd7252bbe4a9768ac6bf2ff2c3194147b02 /generic/tclEvent.c | |
parent | beeb68e421fe6d6189ca01f7c7e8de1a3a4ac9da (diff) | |
download | tcl-ce2306d853a8512bdad5ecaafb32eca94ba2127e.zip tcl-ce2306d853a8512bdad5ecaafb32eca94ba2127e.tar.gz tcl-ce2306d853a8512bdad5ecaafb32eca94ba2127e.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.
FossilOrigin-Name: 5f526d80a67b633e5573362c4c8a458db005ad8c
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r-- | generic/tclEvent.c | 7 |
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. |