stopping tokenizer if parser is aborted

This commit is contained in:
Gregory Terzian 2018-07-22 19:25:27 +08:00
parent e49c8e7f26
commit 31da37fa6c
3 changed files with 6 additions and 7 deletions

View file

@ -482,6 +482,9 @@ impl ServoParser {
self.suspended.set(true);
return;
}
if self.aborted.get() {
return;
}
}
}