Skip to content

Commit

Permalink
Adding to the shutdown.
Browse files Browse the repository at this point in the history
Signed-off-by: André Silva <[email protected]>
  • Loading branch information
askpt committed Nov 15, 2024
1 parent 914cd08 commit 1698e27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OpenFeature/Api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ public async Task ShutdownAsync()
await using (this._repository.ConfigureAwait(false))
{
this._evaluationContext = EvaluationContext.Empty;
this._transactionContext = null;
this._hooks.Clear();

// TODO: make these lazy to avoid extra allocations on the common cleanup path?
Expand Down

0 comments on commit 1698e27

Please sign in to comment.