Commit 8cec2814 authored by Sebastian Brzezinka's avatar Sebastian Brzezinka Committed by Konrad Sztyber
Browse files

llvm_vfio_fuzz: check if app thread still exist before spdk_app_stop



Signed-off-by: default avatarSebastian Brzezinka <sebastian.brzezinka@intel.com>
Change-Id: Ia9ffc8580174999366b49b22122e3561cf643395
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17886


Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent e3494a36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ exit_handler(void)
	if (g_io_thread.io_ctrlr_path && g_io_thread.thread) {
		spdk_thread_send_msg(g_io_thread.thread, io_terminate, &g_io_thread);

	} else {
	} else if (spdk_thread_get_app_thread()) {
		spdk_app_stop(0);
	}