Skip to content

Commit

Permalink
xpmem: Cleanup xpmem before monitors
Browse files Browse the repository at this point in the history
Since xpmem installs memory monitors, these need to be cleaned up before
cleaning up the monitors to avoid an assert in debug mode.

Signed-off-by: Amir Shehata <[email protected]>
  • Loading branch information
amirshehataornl authored and j-xiong committed Nov 22, 2024
1 parent 52e3437 commit b987c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fabric.c
Original file line number Diff line number Diff line change
@@ -1030,9 +1030,9 @@ FI_DESTRUCTOR(fi_fini(void))
}

ofi_free_filter(&prov_filter);
ofi_shm_p2p_cleanup();
ofi_monitors_cleanup();
ofi_hmem_cleanup();
ofi_shm_p2p_cleanup();
ofi_hook_fini();
ofi_mem_fini();
fi_log_fini();

0 comments on commit b987c16

Please sign in to comment.