Tk Source Code

View Ticket
Login
Ticket UUID: 1285304
Title: wrong exit handler used to clean up windows
Type: Bug Version: obsolete: 8.5a4
Submitter: melbardis Created on: 2005-09-08 19:58:33
Subsystem: 65. Generic Window Operations Assigned To: hobbs
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2005-10-11 03:34:54
Resolution: Duplicate Closed By: hobbs
    Closed on: 2005-10-10 20:34:54
Description:
In function Initialize() (generic/tkwindow.c) an exit 
handler is  created to deal with windows when exiting 
the thread. Unfortunately it used  TkCreateExitHandler() 
to create a process global exit handler, with a passed 
argument of the thread specific data area the has the 
lists of  active windows. I changed this to 
Tcl_CreateThreadExitHandler() and  all is OK.
User Comments: hobbs added on 2005-10-11 03:34:53:
Logged In: YES 
user_id=72656

This may also be solved by the patch noted in 749908
(applied to 8.5 head).

melbardis added on 2005-09-11 01:06:52:
Logged In: YES 
user_id=788816

seems to be similar/same as bug#1247919

melbardis added on 2005-09-09 02:58:34:

File Added - 148500: tkWindof.diff

Attachments: