… | |
… | |
2916 | #if EV_USE_INOTIFY |
2916 | #if EV_USE_INOTIFY |
2917 | infy_fork (EV_A); |
2917 | infy_fork (EV_A); |
2918 | #endif |
2918 | #endif |
2919 | |
2919 | |
2920 | #if EV_SIGNAL_ENABLE || EV_ASYNC_ENABLE |
2920 | #if EV_SIGNAL_ENABLE || EV_ASYNC_ENABLE |
2921 | if (ev_is_active (&pipe_w)) |
2921 | if (ev_is_active (&pipe_w) && postfork != 2) |
2922 | { |
2922 | { |
2923 | /* pipe_write_wanted must be false now, so modifying fd vars should be safe */ |
2923 | /* pipe_write_wanted must be false now, so modifying fd vars should be safe */ |
2924 | |
2924 | |
2925 | ev_ref (EV_A); |
2925 | ev_ref (EV_A); |
2926 | ev_io_stop (EV_A_ &pipe_w); |
2926 | ev_io_stop (EV_A_ &pipe_w); |