Merge pull request #540 from KoLogicDev/patch-1
Concurrency fix for EventBus
This commit is contained in:
commit
a91514aa7e
@ -115,10 +115,7 @@ namespace Microsoft.eShopOnContainers.BuildingBlocks.EventBus
|
||||
private void RaiseOnEventRemoved(string eventName)
|
||||
{
|
||||
var handler = OnEventRemoved;
|
||||
if (handler != null)
|
||||
{
|
||||
OnEventRemoved(this, eventName);
|
||||
}
|
||||
handler?.Invoke(this, eventName);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user