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 —
설명
void newt_form_watch_fd
( resource $form
, resource $stream
[, int $flags
] )
Warning
이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다.
인수
- form
-
- stream
-
- flags
-
반환값
값을 반환하지 않습니다.
jakub dot holdys at fancyfon dot com ¶
3 years ago
