There is no special function to remove FD from watch. When I closed stream added to be watch, my script hanged.
<?php newt_form_watch_fd($form, $old_fd, 0); ?> seems to be solution of this issue.
newt_form_watch_fd
(PECL newt >= 0.1)
newt_form_watch_fd —
Beschreibung
void newt_form_watch_fd
( resource
$form
, resource $stream
[, int $flags
] )Warnung
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
Parameter-Liste
-
form -
-
stream -
-
flags -
Rückgabewerte
Es wird kein Wert zurückgegeben.
jakub dot holdys at fancyfon dot com
05-Nov-2009 03:46
