mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
Cleaning up dependencies (#125)
* cargo update * Update to latest ctrlc crate * Update vergen * Update to latest pretty_assertions * Update log * Update parking_lot * Update hex-rustc
This commit is contained in:
committed by
GitHub
parent
36034e79a2
commit
9fb22ce28d
@@ -114,11 +114,11 @@ fn main() {
|
||||
let (exit_send, exit) = exit_future::signal();
|
||||
|
||||
let exit_send_cell = RefCell::new(Some(exit_send));
|
||||
ctrlc::CtrlC::set_handler(move || {
|
||||
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();
|
||||
}
|
||||
});
|
||||
}).expect("Errror setting up ctrl-c handler");
|
||||
|
||||
let context = AdderContext {
|
||||
db: Arc::new(Mutex::new(HashMap::new())),
|
||||
|
||||
Reference in New Issue
Block a user