mirror of
https://github.com/servo/servo.git
synced 2025-07-15 11:23:39 +01:00
stopping tokenizer if parser is aborted
This commit is contained in:
parent
e49c8e7f26
commit
31da37fa6c
3 changed files with 6 additions and 7 deletions
|
@ -482,6 +482,9 @@ impl ServoParser {
|
|||
self.suspended.set(true);
|
||||
return;
|
||||
}
|
||||
if self.aborted.get() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue