Skip to content

Commit e59abb6

Browse files
author
desperado
committed
mutex contracts changed
1 parent 7d201b7 commit e59abb6

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

composer.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Configuration/DefaultEventProcessor.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function(object $event, ServiceBusContext $context): \Generator
127127

128128
yield from $this->deliveryMessages($context, $commands, $events);
129129

130-
$lock->release();
130+
yield $lock->release();
131131
}
132132
catch (\Throwable $throwable)
133133
{
@@ -200,13 +200,12 @@ private function obtainSagaId(object $event, array $headers): SagaId
200200
}
201201

202202
/**
203-
*
204203
* @param SagaId $id $event
205204
*
206-
* @throws \ServiceBus\Sagas\Store\Exceptions\SagaSerializationError
207205
* @throws \ServiceBus\Sagas\Store\Exceptions\SagasStoreInteractionFailed
208206
* @throws \RuntimeException
209207
* @throws \ServiceBus\Common\Exceptions\DateTimeException
208+
* @throws \ServiceBus\Sagas\Store\Exceptions\SagaSerializationError
210209
*
211210
* @return \Generator
212211
*/

0 commit comments

Comments
 (0)