diff options
author | root <root> | 2010-10-24 19:01:01 +0000 |
---|---|---|
committer | root <root> | 2010-10-24 19:01:01 +0000 |
commit | 85f13ac497130415b7dc7f9555d0980a6b911a12 (patch) | |
tree | 66995df2b1c62eae1d8adff78bf8649ad1c3d9ef /ev.c | |
parent | 89a42941133287392b81c95fca09de34118f1a30 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1738,6 +1738,15 @@ ev_loop_destroy (EV_P) { int i; +#if EV_CLEANUP_ENABLE + /* queue cleanup watchers (and execute them) */ + if (expect_false (cleanupcnt)) + { + queue_events (EV_A_ (W *)cleanups, cleanupcnt, EV_CLEANUP); + EV_INVOKE_PENDING; + } +#endif + #if EV_CHILD_ENABLE if (ev_is_active (&childev)) { |