315
workflowLease api.WorkflowLease,
316
request *workflowservice.SignalWithStartWorkflowExecutionRequest,
318
>
mutableState := workflowLease.GetMutableState()
319
>
if err := api.ValidateSignal(
320
>
ctx,
321
>
shardContext,
322
>
workflowLease.GetMutableState(),
323
>
request.GetSignalInput().Size(),
324
>
request.GetHeader().Size(),
325
>
"SignalWithStartWorkflowExecution",
326
>
); err != nil {
327
// in-memory mutable state is still clean, release the lock with nil error to prevent
328
// clearing and reloading mutable state