Skip to content

Commit 4cd90a8

Browse files
committed
backend/nsurlsession: don't invalidate on drop
1 parent ff6d7d1 commit 4cd90a8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

backends/nsurlsession/src/client.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,6 @@ impl NSUrlSessionClient {
155155
}
156156
}
157157

158-
impl Drop for NSUrlSessionClient {
159-
fn drop(&mut self) {
160-
unsafe {
161-
self.session.finishTasksAndInvalidate();
162-
}
163-
}
164-
}
165-
166158
struct FormUrlEncoder(Retained<NSCharacterSet>);
167159
impl FormUrlEncoder {
168160
fn new() -> Self {

0 commit comments

Comments
 (0)