[
https://issues.apache.org/jira/browse/LOGCXX-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903480#comment-13903480
]
Joseph Southwell commented on LOGCXX-342:
-----------------------------------------
see LOGCXX-390
> 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)