On 2/24/07, felix winkelmann <[EMAIL PROTECTED]> wrote:
On 2/23/07, john <[EMAIL PROTECTED]> wrote:
> Hi. Are ports automatically closed when out of scope?
No. You could set a finalizer, though.
It seems to me that *all* ports should be closed upon finalization,
unless explicitly told not to. That is, all ports should have
close-*-port as a default finalizer, and there should be a procedure
available to unregister the finalizer in the rare cases where it
matters to leave it open.
Are there common cases where this would be a mistake? Or perhaps just
a few port-creation procedures that should be excepted?
Best,
Graham
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users