We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66447dd commit c99206bCopy full SHA for c99206b
src/AsyncEventSource.cpp
@@ -200,7 +200,7 @@ AsyncEventSourceClient::~AsyncEventSourceClient() {
200
201
bool AsyncEventSourceClient::_queueMessage(const char *message, size_t len) {
202
#ifdef ESP32
203
- // length() is not thread-safe, thus acquiring the lock before this call..
+ // Protect message queue access (size checks and modifications) which is not thread-safe.
204
std::lock_guard<std::recursive_mutex> lock(_lockmq);
205
#endif
206
0 commit comments