diff --git a/Tapeti.Flow/Default/FlowStore.cs b/Tapeti.Flow/Default/FlowStore.cs index 06eb01e..2a9a8ad 100644 --- a/Tapeti.Flow/Default/FlowStore.cs +++ b/Tapeti.Flow/Default/FlowStore.cs @@ -161,7 +161,7 @@ namespace Tapeti.Flow.Default if (flowLock == null) throw new ObjectDisposedException("FlowStateLock"); - return Task.FromResult(cachedFlowState.FlowState?.Clone()); + return Task.FromResult(cachedFlowState?.FlowState?.Clone()); } public async Task StoreFlowState(FlowState newFlowState, bool persistent)