mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
Update Substrate (#661)
* Make compat with exit-future updates * Update exit-future entirely * Tidy * Bump Substrate
This commit is contained in:
@@ -15,4 +15,4 @@ client-api = { package = "sc-client-api", git = "https://github.com/paritytech/s
|
||||
parking_lot = "0.9.0"
|
||||
ctrlc = { version = "3.1.3", features = ["termination"] }
|
||||
futures = "0.3.1"
|
||||
exit-future = "0.1.4"
|
||||
exit-future = "0.2.0"
|
||||
|
||||
@@ -145,7 +145,7 @@ fn main() {
|
||||
let exit_send_cell = RefCell::new(Some(exit_send));
|
||||
ctrlc::set_handler(move || {
|
||||
if let Some(exit_send) = exit_send_cell.try_borrow_mut().expect("signal handler not reentrant; qed").take() {
|
||||
exit_send.fire();
|
||||
let _ = exit_send.fire();
|
||||
}
|
||||
}).expect("Error setting up ctrl-c handler");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user