Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-158

XMLConfigurator.ConfigureAndWatch() leaks resources if called multiple times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.10
    • 1.2.11
    • Other
    • None
    • Windows Server 2003, Windows XP

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sisdeveloper Strategic Insurance Software
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: