diff options
author | hobbs <hobbs> | 2000-11-03 20:30:27 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-11-03 20:30:27 (GMT) |
commit | dfe275f8d43eee2f351f5c0f42d5c1c384ec3dfc (patch) | |
tree | bde879c816836dcfe975c52bd4d00d98b78bbc93 /generic | |
parent | 86a37fdf2e9e79a67b9c86d51fddc56231487e84 (diff) | |
download | tcl-dfe275f8d43eee2f351f5c0f42d5c1c384ec3dfc.zip tcl-dfe275f8d43eee2f351f5c0f42d5c1c384ec3dfc.tar.gz tcl-dfe275f8d43eee2f351f5c0f42d5c1c384ec3dfc.tar.bz2 |
safety check on setting mainLoopProc to NULL
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclMain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c index 1ea4f3f..c3cabbf 100644 --- a/generic/tclMain.c +++ b/generic/tclMain.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclMain.c,v 1.10 2000/11/03 20:07:00 hobbs Exp $ + * RCS: @(#) $Id: tclMain.c,v 1.11 2000/11/03 20:30:27 hobbs Exp $ */ #include "tcl.h" @@ -377,6 +377,7 @@ Tcl_Main(argc, argv, appInitProc) */ (*mainLoopProc)(); + mainLoopProc = NULL; } if (commandPtr != NULL) { Tcl_DecrRefCount(commandPtr); |