summaryrefslogtreecommitdiff
path: root/cpp/lib/common/sys/apr/LFSessionContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/lib/common/sys/apr/LFSessionContext.cpp')
-rw-r--r--cpp/lib/common/sys/apr/LFSessionContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/lib/common/sys/apr/LFSessionContext.cpp b/cpp/lib/common/sys/apr/LFSessionContext.cpp
index e0c415a12f..503dfddbb7 100644
--- a/cpp/lib/common/sys/apr/LFSessionContext.cpp
+++ b/cpp/lib/common/sys/apr/LFSessionContext.cpp
@@ -145,8 +145,8 @@ void LFSessionContext::stopProcessing(){
}
void LFSessionContext::close(){
- closing = true;
Mutex::ScopedLock l(writeLock);
+ closing = true;
if(!processing){
//allow pending frames to be written to socket
fd.reqevents = APR_POLLOUT;