Skip to content

Commit

Permalink
Fix close in IOHttpClientAdapter (cfug#33)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Li <[email protected]>

Signed-off-by: Alex Li <[email protected]>
  • Loading branch information
AlexV525 authored Dec 15, 2022
1 parent b9a978d commit 873f572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dio/lib/src/adapters/io_adapter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class IOHttpClientAdapter implements HttpClientAdapter {

@override
void close({bool force = false}) {
_closed = _closed;
_closed = true;
_defaultHttpClient?.close(force: force);
}
}

0 comments on commit 873f572

Please sign in to comment.