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 —
Descrizione
void newt_form_watch_fd
( resource
$form
, resource $stream
[, int $flags
] )Avviso
Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.
Elenco dei parametri
-
form -
-
stream -
-
flags -
Valori restituiti
Nessun valore viene restituito.
jakub dot holdys at fancyfon dot com ¶
3 years ago
