mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-03 15:58:23 +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 {
|
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