mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-03 07:52:29 +02:00
fixed GH #1865: AbstractEvent::hasDelegates() is not thread-safe
This commit is contained in:
parent
0aec1e162f
commit
96ca6e865d
@ -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