summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2008-10-24 08:15:33 +0000
committerroot <root>2008-10-24 08:15:33 +0000
commit2c4998e8b45992e3454b8c487f5f1ec02efc5f6f (patch)
treeba1fe818f818ef9af2ead7f7dbbbbbe9feebd30b /ev.c
parent1d4fd7ad8cc7bf6b598cf1838f90b92e00a32de5 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 2 insertions, 0 deletions
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);