add fetch-task-db and integrate it with fetch-manager
diff --git a/src/fetcher.cc b/src/fetcher.cc
index 13a52b3..2e156a5 100644
--- a/src/fetcher.cc
+++ b/src/fetcher.cc
@@ -195,7 +195,7 @@
// tell FetchManager that we have finish our job
// m_onFetchComplete (*this);
// using executor, so we won't be deleted if there is scheduled FillPipeline call
- m_executor->execute (bind (m_onFetchComplete, ref(*this)));
+ m_executor->execute (bind (m_onFetchComplete, ref(*this), m_deviceName, m_name));
}
else
{