From 3664fe8db6a88e2aed5bc9425dfae92828851a42 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Mon, 11 Aug 2014 09:15:34 -0700 Subject: Better TaskMan destroy; let's proprely stop all events before closing the libev loop. --- includes/TaskMan.h | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') diff --git a/includes/TaskMan.h b/includes/TaskMan.h index acfa2c9..ba6d76f 100644 --- a/includes/TaskMan.h +++ b/includes/TaskMan.h @@ -124,6 +124,7 @@ class TaskMan { void curlMultiTimerEventCallback(ev::timer & w, int revents); void registerCurlHandle(CurlTask * curlTask); void unregisterCurlHandle(CurlTask * curlTask); + taskHash_t m_curlTasks; struct ares_channeldata * m_aresChannel = NULL; static const int ARES_MAX_SOCKETS = 2; -- cgit v1.2.3