moonchen commented on code in PR #11184:
URL: https://github.com/apache/trafficserver/pull/11184#discussion_r1538295363


##########
src/tsutil/Regex.cc:
##########
@@ -105,12 +120,20 @@ class RegexContext
 thread_local RegexContext *RegexContext::_regex_context = nullptr;
 
 //----------------------------------------------------------------------------
-namespace
+
+RegexContextCleanup::~RegexContextCleanup()
 {

Review Comment:
   I think you need to acquire `_mutex` here, since it's modifying `_contexts`, 
right?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to