Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f424dda6daf9f706925e64d993f45b20132da977
Ticket: 3574493fffffffffffffffffffffffffffffffff
TclpFinalizeSockets hangs on windows
User & Date: dgp on 2012-11-07 23:46:38
Changes

  1. icomment:
    
    apn points out to me that removing the Tcl_Finalize()
    call from DllMain() is the solution on the Tcl trunk (8.6).
    
    With Tcl 8.6, we apparently more explicitly put the
    burden of finalization on the embedding program,
    instead of trying to make automagic happen as the
    Tcl Dll gets unloaded.
    
    I'll commit the patch on the core-8-5-branch as an
    additional layer of workaround, but programs like
    the demo here also ought to be revised to take care
    of Tcl finalization.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"