Skip to content

Commit 87be2e2

Browse files
committed
Fix sigint shutdown
1 parent 7afe854 commit 87be2e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/kvssink_intermittent_sample.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ void shutdown_sample () {
5454
std::lock_guard<std::mutex> lock(cv_mutex);
5555
terminated = TRUE;
5656
cv.notify_all();
57+
duration_cv.notify_all();
5758
if (main_loop != NULL) {
5859
g_main_loop_quit(main_loop);
5960
}

0 commit comments

Comments
 (0)