mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Make sync requests not crash / remove associated leak
This commit is contained in:
parent
e8de5f2f55
commit
30827bab4d
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ enum SyncOrAsync<'a, 'b> {
|
|||
impl<'a,'b> SyncOrAsync<'a,'b> {
|
||||
fn is_async(&self) -> bool {
|
||||
match *self {
|
||||
Sync(_) => true,
|
||||
Async(_,_) => true,
|
||||
_ => false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue