Skip to content

Commit

Permalink
pub wait_read (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
vnt-dev authored Jan 13, 2025
1 parent 8d4ce2a commit b249e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl Session {
}
}

fn wait_read(&self) -> Result<(), Error> {
pub fn wait_read(&self) -> Result<(), Error> {
//Wait on both the read handle and the shutdown handle so that we stop when requested
let handles = [self.get_read_wait_event()?.0, self.shutdown_event.0 .0];
let result = unsafe {
Expand Down

0 comments on commit b249e5f

Please sign in to comment.