Skip to content

Commit

Permalink
Added warning to simple.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Detegr committed Jul 16, 2015
1 parent 1e06137 commit 483ce08
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/simple.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Warning: If you run this example with `cargo run --example simple`
// and hit Ctrl-C, the executable will still be kept running using
// 100% of CPU. This is because cargo seems to kill the process even
// though you have set up Ctrl-C handler of your own.

extern crate ctrlc;
use ctrlc::CtrlC;
fn main() {
Expand Down

0 comments on commit 483ce08

Please sign in to comment.