… | |
… | |
407 | responsibility to either stop all watchers cleanly yoursef I<before> |
407 | responsibility to either stop all watchers cleanly yoursef I<before> |
408 | calling this function, or cope with the fact afterwards (which is usually |
408 | calling this function, or cope with the fact afterwards (which is usually |
409 | the easiest thing, you can just ignore the watchers and/or C<free ()> them |
409 | the easiest thing, you can just ignore the watchers and/or C<free ()> them |
410 | for example). |
410 | for example). |
411 | |
411 | |
412 | Not that certain global state, such as signal state, will not be freed by |
412 | Note that certain global state, such as signal state, will not be freed by |
413 | this function, and related watchers (such as signal and child watchers) |
413 | this function, and related watchers (such as signal and child watchers) |
414 | would need to be stopped manually. |
414 | would need to be stopped manually. |
415 | |
415 | |
416 | In general it is not advisable to call this function except in the |
416 | In general it is not advisable to call this function except in the |
417 | rare occasion where you really need to free e.g. the signal handling |
417 | rare occasion where you really need to free e.g. the signal handling |