make sure all of our async handles are stopped before stopping the map thread
This commit is contained in:
@@ -22,7 +22,7 @@ struct CacheRequestBaton {
|
||||
};
|
||||
|
||||
HTTPRequest::HTTPRequest(ResourceType type_, const std::string &path, uv_loop_t *loop, std::shared_ptr<SQLiteStore> store_)
|
||||
: BaseRequest(), thread_id(uv_thread_self()), store(store_), type(type_) {
|
||||
: BaseRequest(path), thread_id(uv_thread_self()), store(store_), type(type_) {
|
||||
cache_baton = new CacheRequestBaton;
|
||||
cache_baton->request = this;
|
||||
cache_baton->path = path;
|
||||
|
||||
Reference in New Issue
Block a user