tweak reader interrupt behavior

This commit is contained in:
Jan Kanis 2013-01-22 11:57:47 +01:00
parent a3b497b271
commit b6bd6e399d

View File

@ -660,6 +660,9 @@ int reader_reading_interrupted()
{
reader_exit(1, 0);
parser_t::skip_all_blocks();
// We handled the interrupt ourselves, our caller doesn't need to
// handle it.
return 0;
}
return res;
}