fixed control_c flag call
This commit is contained in:
parent
55921ca08f
commit
18633890f2
1 changed files with 1 additions and 2 deletions
|
@ -11,9 +11,8 @@ fn it_works() {
|
|||
|
||||
#[test]
|
||||
fn can_make_ctrl_c_handler() {
|
||||
let (control_c_flag_tx_1, _control_c_called_flag_rx_1) = sync_flag::new_syncflag(false);
|
||||
let (control_c_flag_tx, _control_c_called_flag_rx) = sync_flag::new_syncflag(false);
|
||||
crate::setup_control_c(control_c_flag_tx, control_c_flag_tx_1);
|
||||
crate::setup_control_c(control_c_flag_tx);
|
||||
drop(_control_c_called_flag_rx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue