diff options
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | ev.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -11,6 +11,8 @@ WISH? monotonic clocks times/GetTickCount for coarse corrections? - drop the "struct" from all ev_watcher declarations in the documentation and did other clarifications (yeah, it was a mistake to have a struct AND a function called ev_loop). + - fix a bug where ev_default would not initialise the default + loop again after it was destroyed with ev_default_destroy. 3.45 Tue Oct 21 21:59:26 CEST 2008 - disable inotify usage on linux <2.6.25, as it is broken @@ -1640,6 +1640,8 @@ ev_default_destroy (void) struct ev_loop *loop = ev_default_loop_ptr; #endif + ev_default_loop_ptr = 0; + #ifndef _WIN32 ev_ref (EV_A); /* child watcher */ ev_signal_stop (EV_A_ &childev); |