1
0
mirror of synced 2024-11-05 02:59:16 +00:00

Enforce loading of the flowstore before lookingup continuations, to prevent a common misuse that leads to data loss. fix

This commit is contained in:
Menno van Lavieren 2019-05-02 13:32:03 +02:00
parent 785cda387f
commit e85807f622

View File

@ -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;