Overview
| Artifact ID: | 69ab5e522b35dc3c48d69b746e9c6128b358ee62 |
|---|---|
| Ticket: | 67a5eabbd3d195915d3ccc13246bdecf10e20726
refchan, coroutine, and postevent from the "watch" proc |
| User & Date: | aspect on 2016-08-15 11:53:46 |
Changes
- icomment:
The stack trace of the error is: c1 chan event schan::watch c1 (boom!) ie, yield is not even reached. schan::watch should not immediately call [chan postevent]. Wrapping that in [after 0] removes the crash, but I'm not sure this is correct behaviour for postevent either. See tcllib or http://chiselapp.com/user/aspect/repository/tcl-hacks/artifact/6cb89e9c9ebb6800 for other strategies (but I now see potentially a similar bug in the chiselapp link ..) - login: "aspect"
- mimetype: "text/plain"