diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-08-11 09:15:34 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-08-11 09:15:34 -0700 |
commit | 3664fe8db6a88e2aed5bc9425dfae92828851a42 (patch) | |
tree | 5ad0a3bfccd50cff693cac411350bd1932bb9c77 /includes | |
parent | 29a901f599ca16cec7c77a9789a41822e29d1494 (diff) |
Better TaskMan destroy; let's proprely stop all events before closing the libev loop.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/TaskMan.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |