Skip to content

Commit

Permalink
Remove closing http client after logging out (#18)
Browse files Browse the repository at this point in the history
* Remove closing http client after logging out

Fixes #17.

* Fix Codecov flag carryforward config
  • Loading branch information
Albert221 authored Jan 12, 2021
1 parent 707de44 commit 7469aa8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ comment:

flags:
cqrs:
paths: packages/cqrs
paths: [packages/cqrs]
carryforward: true
login_client:
paths: packages/login_client
paths: [packages/login_client]
carryforward: true
4 changes: 4 additions & 0 deletions packages/login_client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.1.1

- Fix closing default HTTP client after logging out.

# 1.1.0

- OAuth2 `clientId` is now required.
Expand Down
1 change: 0 additions & 1 deletion packages/login_client/lib/src/login_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ class LoginClient extends http.BaseClient {
_onCredentialsChanged.add(null);
await _credentialsStorage.clear();

_oAuthClient?.close();
_oAuthClient = null;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/login_client/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: login_client
version: 1.1.0
version: 1.1.1
homepage: https://github.com/leancodepl/flutter_corelibrary/tree/master/packages/login_client
repository: https://github.com/leancodepl/flutter_corelibrary
description: >-
Expand Down

0 comments on commit 7469aa8

Please sign in to comment.