mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
removed spurrious assert in Drop for LoadBlocker
This commit is contained in:
parent
e96a5ae37e
commit
d6b3eb6db9
1 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,8 @@ impl LoadBlocker {
|
|||
|
||||
impl Drop for LoadBlocker {
|
||||
fn drop(&mut self) {
|
||||
if !thread::panicking() {
|
||||
debug_assert!(self.load.is_none());
|
||||
if let Some(script_thread) = self.load.take() {
|
||||
self.doc.finish_load(script_thread);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue