Enforce loading of the flowstore before lookingup continuations, to prevent a common misuse that leads to data loss. fix
This commit is contained in:
parent
785cda387f
commit
e85807f622
@ -58,7 +58,7 @@ namespace Tapeti.Flow.Default
|
||||
|
||||
public async Task<IFlowStateLock> LockFlowState(Guid flowID)
|
||||
{
|
||||
if (!loaded && Debugger.IsAttached)
|
||||
if (!loaded)
|
||||
throw new InvalidOperationException("Flow store should be loaded before storing flows.");
|
||||
|
||||
inUse = true;
|
||||
|
Loading…
Reference in New Issue
Block a user