app/eventdev: follow proper teardown sequence
[dpdk.git] / app / test-eventdev / test_pipeline_common.c
index 5db3ffd..1e52564 100644 (file)
@@ -396,6 +396,7 @@ pipeline_eventdev_destroy(struct evt_test *test, struct evt_options *opt)
 {
        RTE_SET_USED(test);
 
+       rte_event_dev_stop(opt->dev_id);
        rte_event_dev_close(opt->dev_id);
 }