mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-28 00:32:17 -08:00
dbg_engine: ctrl thread - be robust to strange duplicate module unload events
This commit is contained in:
1 parent
9d651f4bd5
commit
6c309038ce
1 file changed
+8
-1
@@ -2816,7 +2816,14 @@ d_ctrl_thread__module_close(D_Handle process, D_Handle module, U64 base_vaddr)
|
|||||||
arena_release(node->arena);
|
arena_release(node->arena);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
cond_var_wait_rw_w(stripe->cv, stripe->rw_mutex, max_U64);
|
if(node)
|
||||||
|
{
|
||||||
|
cond_var_wait_rw_w(stripe->cv, stripe->rw_mutex, max_U64);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user