pmc: detach free_gtask on unload

Reported by:	pho
This commit is contained in:
mmacy 2018-05-20 20:34:15 +00:00
parent 8fc6dcfaf4
commit 0ff2c24861

View File

@ -5557,6 +5557,7 @@ pmc_cleanup(void)
mtx_pool_destroy(&pmc_mtxpool);
mtx_destroy(&pmc_processhash_mtx);
taskqgroup_config_gtask_deinit(&free_gtask);
if (pmc_processhash) {
#ifdef HWPMC_DEBUG
struct pmc_process *pp;