diff --git a/Core/Cleipnir.ResilientFunctions.Tests/ReactiveTests/ReactiveIntegrationTests.cs b/Core/Cleipnir.ResilientFunctions.Tests/ReactiveTests/ReactiveIntegrationTests.cs index 1fb71ef8..817892d5 100644 --- a/Core/Cleipnir.ResilientFunctions.Tests/ReactiveTests/ReactiveIntegrationTests.cs +++ b/Core/Cleipnir.ResilientFunctions.Tests/ReactiveTests/ReactiveIntegrationTests.cs @@ -21,7 +21,7 @@ public class ReactiveIntegrationTests public async Task FunctionCanBeSuspendedForASecondSuccessfully() { var store = new InMemoryFunctionStore(); - var functionsRegistry = new FunctionsRegistry(store); + using var functionsRegistry = new FunctionsRegistry(store); var functionId = TestFlowId.Create(); var (flowType, flowInstance) = functionId; var rAction = functionsRegistry.RegisterAction(