|
2003-12-16
| ||
| 15:16 | • Closed ticket [725935ffff]: registered channels get closed after exithandlers</i... artifact: 6586c55b7d user: davygrvy | |
|
2003-11-13
| ||
| 07:52 | • Ticket [725935ffff]: 1 change artifact: 9ca2c32c1f user: dgp | |
|
2003-10-23
| ||
| 07:12 | • Ticket [725935ffff]: 4 changes artifact: 3d63e42b00 user: davygrvy | |
| 06:49 | • Ticket [725935ffff]: 4 changes artifact: fb1b98f6f9 user: davygrvy | |
| 04:20 | • Ticket [725935ffff]: 4 changes artifact: c9b940cddb user: andreas_kupries | |
|
2003-04-22
| ||
| 23:44 | • New ticket [725935ffff]. artifact: ff257b8a4b user: davygrvy | |
registered channels get closed after exithandlers
Closed / Wont Fix725935ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 23 years ago
Descriptionplain2003-04-22 23:44:41
When one writes an extension that is a custom channel driver, during tear-down from an [exit] Tcl_Close is called after the extension's exit handler is called. I would prefer to be able to handle the Tcl_Close call, but can't as I've already cleaned my private area.
andreas_kupriesplain2003-10-23 04:20:33
Logged In: YES user_id=75003 What happens if the core is modified to close channels before the exit handler of a package ? Are there other core internal dependencies which require the current order ?
davygrvyplain2003-10-23 06:49:56
Logged In: YES user_id=7549 Yes, stderr and stdout should still be left open until exithandlers are finished. So I've learned to accept the order instead. What I could do is maintain a list of my channels and close them explicitly from the exithandler instead.
davygrvyplain2003-10-23 07:12:56
Logged In: YES user_id=7549 So the question remains... Is this really a bug, or just a behavior? I don't know... If all channels except the std ones where closed prior to exithandlers, is that a bad change? Am I just being lazy and not wanting to maintain a list of my custom channels?
dgp Ticket [725935ffff]: 1 change
[History diff]2003-11-13 07:52:13
davygrvyplain2003-12-16 15:16:14
Logged In: YES user_id=7549 I'm just being lazy :) I should maintain a list and clear it in my exit handler.
Log in (anonymous is fine) to add a comment.