examples/nvmf: add missed spdk_env_fini() when exiting

Change-Id: Ia6d1b05602541e2884394a7cb242480fcc33eea9
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10905
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:02:42 +08:00 committed by Jim Harris
parent b68f2eeb0b
commit 974e069878

View File

@ -901,5 +901,8 @@ int main(int argc, char **argv)
spdk_env_thread_wait_all();
nvmf_destroy_threads();
spdk_env_fini();
return rc;
}