dpsenner commented on a change in pull request #48: Fixes LOG4NET-587 Mutex ~ 
UnauthorizedAccessException Access to the path is denied
URL: https://github.com/apache/logging-log4net/pull/48#discussion_r287297842
 
 

 ##########
 File path: src/Appender/FileAppender.cs
 ##########
 @@ -846,11 +851,15 @@ public override void ActivateOptions()
                                                        .Replace(":", "_")
                                                        .Replace("/", "_");
 
-                                       m_mutex = new Mutex(false, 
mutexFriendlyFilename);
+                                       m_mutexName = mutexFriendlyFilename;
 
 Review comment:
   Storing this as an internal state appears to be unnecessary, isn't it?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to