Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alfred2g committed Dec 2, 2023
1 parent 8d6a668 commit 324bff1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions servicetests/tests/ShadowUpdate/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ int main(int argc, char *argv[])
// Disconnect
if (client5->Stop() == true)
{
fprintf(stderr, "waiting on future\n");
connectionClosedPromise.get_future().wait();
fprintf(stderr, "future passed\n");
}
}
else
Expand All @@ -235,6 +237,7 @@ int main(int argc, char *argv[])
connectionClosedPromise.get_future().wait();
}
}
fprintf(stderr, "returning\n");
return 0;
}

Expand Down

0 comments on commit 324bff1

Please sign in to comment.