Skip to content

Commit 1ab3758

Browse files
authored
Merge pull request #32 from Berrysoft/fix-nsurl-drop
backend/nsurlsession: don't invalidate on drop
2 parents ff6d7d1 + 4cd90a8 commit 1ab3758

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)