Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a58b4ea2ee30e2802b5ed3ae1ecc9a511e53e99380bf245b163f577045a7f378
Ticket: dbafd8235cf752602e7404bbbb5c1201d1d167fa
coroutine, vwait, and try == no background error handler
User & Date: sebres on 2024-10-18 10:28:01
Changes

  1. closedate changed to: "2460601.93612462"
  2. closer changed to: "sebres"
  3. icomment:
    This is expected behaviour - since done is set (in finally), vwait will stop before the idle event of background error takes place.
    This has nothing to do with coro, NRE etc - it is simply how vwait (and background error handler) work.<br/>
    
    Simplified example illustrating this:
    <code><pre>
    % after 0 { set done 1; error test }; vwait done
    % update
    test
        while executing
    "error test "
        ("after" script)
    </pre></code>
    
  4. login: "sebres"
  5. mimetype: "text/x-fossil-wiki"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"