You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by "Thorsten Schöning (JIRA)" <lo...@logging.apache.org> on 2014/02/10 15:56:19 UTC
[jira] [Resolved] (LOGCXX-391) There is no TlsFree
[ https://issues.apache.org/jira/browse/LOGCXX-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Schöning resolved LOGCXX-391.
--------------------------------------
Resolution: Cannot Reproduce
I cannot find any occurance of TIsFree anywhere and the proposed fix doesn't apply to trunk anymore.
> There is no TlsFree
> -------------------
>
> Key: LOGCXX-391
> URL: https://issues.apache.org/jira/browse/LOGCXX-391
> Project: Log4cxx
> Issue Type: Bug
> Affects Versions: 0.10.0
> Environment: Windows
> Reporter: Victor
> Assignee: Curt Arnold
> Priority: Minor
>
> There is no TlsFree in APRInitializer. It can be fixed if make change in .\src\main\cpp\aprinitializer.cpp
> APRInitializer::~APRInitializer() {
> +#if APR_HAS_THREADS
> + if (tlsKey)
> + {
> + apr_status_t stat = apr_threadkey_private_delete(tlsKey);
> + assert(stat == APR_SUCCESS);
> + }
> +#endif
> apr_terminate();
> isDestructed = true;
> }
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)