mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 01:16:55 +02:00
fixed GH #1865: AbstractEvent::hasDelegates() is not thread-safe
This commit is contained in:
parent
8e8143b43d
commit
cf38f272a2
@ -247,7 +247,7 @@ public:
|
||||
}
|
||||
|
||||
bool hasDelegates() const {
|
||||
return !(_strategy.empty());
|
||||
return !empty();
|
||||
}
|
||||
|
||||
ActiveResult<TArgs> notifyAsync(const void* pSender, const TArgs& args)
|
||||
|
Loading…
x
Reference in New Issue
Block a user