Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d9b8d588a823df693b3f55e3dd2aee5709b1eb62
Ticket: 2001201fffffffffffffffffffffffffffffffff
Tcl_Exit() shouldn't call the full Tcl_Finalize() path
User & Date: das on 2008-08-16 06:40:46
Changes

  1. icomment:
    Logged In: YES 
    user_id=90580
    Originator: NO
    
    is the window-2.9 deadlock in threaded Tk relevant here? (Tk bugs 1715716  & 740570)
    
    I wrote there:
    
    > The problem is definitely caused by nested invocation of [exit] from the
    > <Destroy> handlers; not sure how to go about a fix in Tk, DestroyNotify
    > events explicitly ignore TK_ALREADY_DEAD...
    > 
    > The easiest option might be to check inFinalize before setting it in
    > Tcl_Finalize(), or equivalently, to check TclInExit() in Tcl_Exit() before
    > calling Tcl_Finalize(), but I don't understand tcl finalization well enough
    > to know if that would have undesireable effects.
    
    
    
    
  2. login: "das"
  3. mimetype: "text/plain"
  4. priority changed to: "7 High"
  5. username: "das"