Skip to content

Commit

Permalink
Merge pull request #357 from privacybydesign/client-close-revocation-…
Browse files Browse the repository at this point in the history
…tasks

Fix: background revocation tasks not stopped on close
  • Loading branch information
ivard authored Nov 28, 2023
2 parents 2b53e49 + e45de25 commit 8d4c4ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
### Fixed
- Background revocation tasks not stopped when closing an `irmaclient`

## [0.14.2] - 2023-10-25
### Fixed
- IRMA session gets stuck in communicating status when user is requested to confirm PIN in `irmaclient`
Expand Down
2 changes: 2 additions & 0 deletions irmaclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ func New(
}

func (client *Client) Close() error {
client.PauseJobs()
client.Configuration.Scheduler.Stop()
return client.storage.Close()
}

Expand Down

0 comments on commit 8d4c4ba

Please sign in to comment.