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

XMLConfigurator.ConfigureAndWatch() leaks resources if called multiple times

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.10
    • Fix Version/s: 1.2.11
    • Component/s: Other
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: