On Wed Mar 13 18:38:29 2024 +0000, Rémi Bernon wrote:
I changed this to consistently remove the mapping *after* the destruction.
Although another thing to consider with removing the mappings after the destruction is that this becomes racy if the host handle being destroyed is reused for a different object created in another thread before the destroying thread had a chance to remove its mapping. Not very likely but still.