fileevent removal

From: Arturo Perez -- Software Engineer <arturo_at_glass.softeng.infonautics.com>
Date: Fri, 07 Jun 1996 15:13:32 -0400

Is the proper way to _remove_ a fileevent handle like so?:
        (fileevent port "readable" "")

It seems that this does not gc the environment consumed by
the handle. For example, one thing I've noticed is that
ports were not being closed and gc'd if you do something like
this
    (fileevent port "readable"
        (let ((proc (run-process ....)))
            (fileevent (process-output proc) "readable"
                (lambda ()
                   (format #t "Been there, done that~%")))))

(thanks to EG's debugging statements:
        EG: On efface le fichier associe' a 10 #file-10
        EG: ON ajoute un callback #file10056668 readable
)
Received on Fri Jun 07 1996 - 21:15:34 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST