Overview
| Artifact ID: | 7190c02120f28e964e0ca5540af3624951412e5e |
|---|---|
| Ticket: | 486453ffffffffffffffffffffffffffffffffff
tclsh exits when Tk interps deleted |
| User & Date: | nobody on 2001-11-28 13:02:02 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
[Based on my post to comp.lang.tcl] [cf. <http://groups.google.com/groups? hl=en&lr=lang_en&newwindow=1&selm=slrna087g6.sdm.dgp% 40clover.cam.nist.gov>] I executed the following code after installing the ActiveTcl8.3.4.1-8.win32-ix86.exe package from ActiveState's web site. The problem detailed below happens under Windows 2000 and Windows 98. I also got the same response when I compiled under Solaris 2.8. tclsh83.exe % interp create foo % interp create bar % load c:/program\ files/tcl/bin/tk83.dll Tk foo % load c:/program\ files/tcl/bin/tk83.dll Tk bar % interp delete foo % interp delete bar The load commands each cause a toplevel to appear, and interp eval commands allow widgets to be created in each toplevel, etc. However, when the last interpreter is deleted, tclsh exits. If Tk is loaded into sub interpreters, the main interpreter should not exit when all of the Tk enabled sub interpreters are deleted. ********* This appears to be a bug in the Tcl_Main() routine. Please file a bug report at the Tcl project at SourceForge.net. http://sf.net/projects/tcl/ File it under the Category "Application Embedding". -- Don Porter
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "50. Embedding Support"
- title changed to: "tclsh exits when Tk interps deleted"
- type changed to: "Bug"