Skip to content

Commit

Permalink
Merge pull request #22 from alinask/topic/test-io-demo-fix-double-ucp…
Browse files Browse the repository at this point in the history
…-cleanup-i3

TEST: io_demo - fix segv due to double calling of ucp_cleanup()
  • Loading branch information
yosefe authored Aug 20, 2020
2 parents 24a4697 + b226343 commit 480cb44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/apps/iodemo/ucx_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ bool UcxContext::init()
status = ucp_worker_create(_context, &worker_params, &_worker);
if (status != UCS_OK) {
ucp_cleanup(_context);
_context = NULL;
UCX_LOG << "ucp_worker_create() failed: " << ucs_status_string(status);
return false;
}
Expand Down

0 comments on commit 480cb44

Please sign in to comment.