Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 96aa94da7173fd7c9738b7f97d2a9a455f0bd054
Ticket: 731778ffffffffffffffffffffffffffffffffff
leaking critical sections...
User & Date: davygrvy on 2004-06-25 02:26:38
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    How's this?
    
    RCS file: /cvsroot/tcl/tcl/win/tclWinThrd.c,v
    retrieving revision 1.31
    diff -c -r1.31 tclWinThrd.c
    *** tclWinThrd.c22 Jun 2004 13:09:01 -00001.31
    --- tclWinThrd.c24 Jun 2004 19:24:27 -0000
    ***************
    *** 435,441 ****
      allocOnce = 0;
          }
      #endif
    !     /* Destroy the critical section that we are holding. */
          DeleteCriticalSection(&initLock);
      }
      
    --- 435,442 ----
      allocOnce = 0;
          }
      #endif
    !     LeaveCriticalSection(&initLock);
    !     /* Destroy the critical section that we were holding. */
          DeleteCriticalSection(&initLock);
      }
    
    Just adding a leave before the destroy?
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"