[ 
https://issues.apache.org/jira/browse/LOGCXX-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Southwell resolved LOGCXX-342.
-------------------------------------

    Resolution: Fixed

> PropertyConfigurator::configureAndWatch leaks memory and threads
> ----------------------------------------------------------------
>
>                 Key: LOGCXX-342
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-342
>             Project: Log4cxx
>          Issue Type: Bug
>          Components: Configurator
>    Affects Versions: 0.10.0
>         Environment: WinXP 64 bit
>            Reporter: Assaf Lavie
>            Assignee: Joseph Southwell
>            Priority: Critical
>         Attachments: propertyconfigurator.cpp.patch
>
>
> Each call to configureAndWatch causes a new FileWatcher object to be created 
> (without deleting the old one) and consequently a new thread to be created 
> (even though the old one may still be running).
> This means that it's very unsafe to call configureAndWatch more than once 
> (and even when calling it just once, it leaks soem mem and a thread).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to