From 2c4998e8b45992e3454b8c487f5f1ec02efc5f6f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 24 Oct 2008 08:15:33 +0000 Subject: *** empty log message *** --- Changes | 2 ++ ev.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Changes b/Changes index 25e608a..72824fc 100644 --- a/Changes +++ b/Changes @@ -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 diff --git a/ev.c b/ev.c index 9358364..bcb49b5 100644 --- a/ev.c +++ b/ev.c @@ -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); -- cgit v1.2.3