Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a5f22122b6f929621cce6118a0a79cd5e65209cf
Ticket: 2724403fffffffffffffffffffffffffffffffff
Delete NS with active coro -> leak
User & Date: dkf on 2010-01-01 15:55:48
Changes

  1. icomment:
    Thinking through it, I'd favour deleting the coroutines first (solution #2) so that they get a chance to run any teardown code (i.e., deletion/unset traces) first. Like that, it would minimize the number of additional bugs introduced from places where user code is relying on the current deletion order.
    
    You only need to scan through for coroutines in the case where the activationCount is non-zero.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"