Skip to content

Commit

Permalink
tencent_kit 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
droplet-js committed Jul 11, 2020
1 parent dc3f866 commit 253da9b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,10 @@ class _HomeState extends State<Home> {

@override
void dispose() {
if (_login != null) {
_login.cancel();
}
if (_share != null) {
_share.cancel();
}
_login?.cancel();
_login = null;
_share?.cancel();
_share = null;
super.dispose();
}

Expand Down

0 comments on commit 253da9b

Please sign in to comment.