[ 
https://issues.apache.org/jira/browse/LOG4NET-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601156#action_12601156
 ] 

Strategic Insurance Software commented on LOG4NET-158:
------------------------------------------------------

The test case you posted accurately reflects the sequence of steps that got our 
servers into trouble, so if the solution passes that test, everything should be 
good.

Thank you for your prompt attention to this issue.

> XMLConfigurator.ConfigureAndWatch() leaks resources if called multiple times
> ----------------------------------------------------------------------------
>
>                 Key: LOG4NET-158
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-158
>             Project: Log4net
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 1.2.10
>         Environment: Windows Server 2003, Windows XP
>            Reporter: Strategic Insurance Software
>         Attachments: Release_handles_in_ConfigureAndWatch.patch
>
>
> If XMLConfigurator.ConfigureAndWatch() is called multiple times within an 
> AppDomain, each time it is called it leaks a Win32 file  handle (possibly 
> from a FileSystemWatcher object not being disposed?) to the folder containing 
> the previous configuration file it was watching.
> Desired behavior would be to release the handle to the folder containing the 
> previous configuration file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to