examples/bdev: add missed spdk_env_fini() call when exiting

Change-Id: Icee84d574a9519f6746f899741b553100f357ab0
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10906
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Changpeng Liu 2021-12-29 20:08:50 +08:00 committed by Jim Harris
parent 974e069878
commit 50ced20e1c

View File

@ -1299,6 +1299,7 @@ spdk_fio_finish_env(void)
pthread_join(g_init_thread_id, NULL);
spdk_thread_lib_fini();
spdk_env_fini();
}
static void fio_exit spdk_fio_unregister(void)