Skip to content

Commit

Permalink
fix(libsinsp_e2e): actually stop capture
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo authored and poiana committed Mar 22, 2024
1 parent 52f110f commit 6d1fc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/libsinsp_e2e/event_capture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void event_capture::capture()
std::scoped_lock teardown_lock(m_inspector_mutex, m_object_state_mutex);
m_before_close(get_inspector());

get_inspector()->start_capture();
get_inspector()->stop_capture();
m_capture_stopped = true;
m_condition_stopped.notify_one();
} // End teardown synchronized section
Expand Down

0 comments on commit 6d1fc91

Please sign in to comment.