mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-02 09:49:48 +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 {
|
bool hasDelegates() const {
|
||||||
return !(_strategy.empty());
|
return !empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
ActiveResult<TArgs> notifyAsync(const void* pSender, const TArgs& args)
|
ActiveResult<TArgs> notifyAsync(const void* pSender, const TArgs& args)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user