Fix hang when printing dot graphs from the CLI
This commit is contained in:
parent
b26eff13e2
commit
3380e0eed7
2 changed files with 5 additions and 1 deletions
|
|
@ -104,6 +104,8 @@ pub fn parse_file_at_path(parser: &mut Parser, opts: ParseFileOptions) -> Result
|
|||
_ => parser.parse(&source_code, None),
|
||||
};
|
||||
|
||||
parser.stop_printing_dot_graphs();
|
||||
|
||||
let stdout = io::stdout();
|
||||
let mut stdout = stdout.lock();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue