mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
change load blocker drop assert to debug_assert
This commit is contained in:
parent
d3a1a4ec7d
commit
5060c13493
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ impl LoadBlocker {
|
|||
impl Drop for LoadBlocker {
|
||||
fn drop(&mut self) {
|
||||
if !thread::panicking() {
|
||||
assert!(self.load.is_none());
|
||||
debug_assert!(self.load.is_none());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue