Skip to content

Commit

Permalink
Break out of reading from System.in on interrupt.
Browse files Browse the repository at this point in the history
  • Loading branch information
VineetReynolds committed Jul 17, 2013
1 parent 4d643cf commit 6cf263d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ public void run()
}
catch (InterruptedException e)
{
//
// Stop reading
break;
}
}
}
Expand Down Expand Up @@ -152,7 +153,8 @@ public void run()
}
catch (InterruptedException e)
{
//
// Stop reading
break;
}
}
}
Expand Down

0 comments on commit 6cf263d

Please sign in to comment.