summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--ev.c2
-rw-r--r--ev.pod4
3 files changed, 5 insertions, 2 deletions
diff --git a/Changes b/Changes
index 89af89a..e97072e 100644
--- a/Changes
+++ b/Changes
@@ -55,6 +55,7 @@ TODO: ev_default_destroy, ev_default_fork
default arguments when compiled as C++.
- enable automake dependency tracking.
- ev_loop_new no longer leaks memory when loop creation failed.
+ - new ev_cleanup watcher type.
3.9 Thu Dec 31 07:59:59 CET 2009
- signalfd is no longer used by default and has to be requested
diff --git a/ev.c b/ev.c
index b5b0c5f..d62dd2b 100644
--- a/ev.c
+++ b/ev.c
@@ -1738,9 +1738,11 @@ ev_loop_destroy (EV_P)
{
int i;
+#if EV_MULTIPLICITY
/* mimic free (0) */
if (!EV_A)
return;
+#endif
#if EV_CLEANUP_ENABLE
/* queue cleanup watchers (and execute them) */
diff --git a/ev.pod b/ev.pod
index 46971b4..85ceb54 100644
--- a/ev.pod
+++ b/ev.pod
@@ -302,8 +302,8 @@ I<not> optional in this case unless libev 3 compatibility is disabled, as
libev 3 had an C<ev_loop> function colliding with the struct name).
The library knows two types of such loops, the I<default> loop, which
-supports signals and child events, and dynamically created event loops
-which do not.
+supports child process events, and dynamically created event loops which
+do not.
=over 4