Commit 79789b8a authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

Merge branch 'master' of

parents 856f0782 d86cf85b
......@@ -1453,6 +1453,9 @@ static hg_return_t margo_handle_cache_get(margo_instance_id mid,
hret = HG_Reset(el->handle, addr, id);
if(hret == HG_SUCCESS)
/* XXX: Mercury doesn't reset the target_id so we need to do that manually for now */
HG_Set_target_id(el->handle, 0);
/* put on in-use list and pass back handle */
HASH_ADD(hh, mid->used_handle_hash, handle, sizeof(hg_handle_t), el);
*handle = el->handle;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment