diff --git a/CHANGELOG.md b/CHANGELOG.md index 76403da4..bada8126 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased ### Fixed - Invalid hostname specified in MX record bypasses e-mail address revalidation +- Background revocation tasks not stopped when closing an `irmaclient` ## [0.14.2] - 2023-10-25 ### Fixed diff --git a/irmaclient/client.go b/irmaclient/client.go index d8554622..a4ebb670 100644 --- a/irmaclient/client.go +++ b/irmaclient/client.go @@ -229,6 +229,8 @@ func New( } func (client *Client) Close() error { + client.PauseJobs() + client.Configuration.Scheduler.Stop() return client.storage.Close() }