prevent dead lock for fs_poll test case

This commit is contained in:
Shuhei Tanuma 2012-07-13 00:29:00 +09:00
parent bd2d6ce7fe
commit 72853ee180

View File

@ -25,7 +25,7 @@ uv_timer_start($timer, 100, 100, function($timer) use (&$i){
fwrite($fp,"hoge");
fclose($fp);
if ($i > 3) {
if ($i > 4) {
uv_timer_stop($timer);
uv_unref($timer);
}