Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 10 years ago
parent
commit
1d2d6dc179
2 changed files with 10 additions and 1 deletions
  1. +9
    -0
      ev.c
  2. +1
    -1
      ev.h

+ 9
- 0
ev.c View File

@ -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))
{


+ 1
- 1
ev.h View File

@ -104,7 +104,7 @@ EV_CPP(extern "C" {)
#endif
#ifndef EV_CLEANUP_ENABLE
# define EV_CLEANUP_ENABLE 0 /* not implemented */
# define EV_CLEANUP_ENABLE EV_FEATURE_WATCHERS
#endif
#ifndef EV_SIGNAL_ENABLE


Loading…
Cancel
Save