spinettaro / delphi-event-bus

Delphi Event Bus (for short DEB) is an Event Bus framework for Delphi
Apache License 2.0
466 stars 110 forks source link

lock in eventbus class is a class var #40

Closed sglienke closed 3 years ago

sglienke commented 4 years ago

Given the possibility to create multiple event bus instances and the non existence of any other class vars I think the lock should be instance wise and not the same lock for possibly multiple instances.

spinettaro commented 4 years ago

@sglienke it makes absolute sense ! @wxinix sent a PR with the fix

thanks both :)

spinettaro commented 3 years ago

fixed by @wxinix
@sglienke feel free to reopen it if you spot something wrong