[
https://issues.apache.org/jira/browse/TS-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14066008#comment-14066008
]
James Peach commented on TS-2943:
---------------------------------
Maybe the traits should carry the resource type, since they assume it anyway?
> Add scoped resource class to help clean up resource leaks.
> ----------------------------------------------------------
>
> Key: TS-2943
> URL: https://issues.apache.org/jira/browse/TS-2943
> Project: Traffic Server
> Issue Type: New Feature
> Components: Core
> Reporter: Alan M. Carroll
> Attachments: ts-2943.diff
>
>
> Create a set of template classes to handle contingently allocated resources
> in a cleaner and more robust way. This holds the resource and destroys it if
> it goes out of scope, with the ability to release the resource after all
> contingent checks have been done. It is modeled on the current xptr class but
> with more generality and better naming.
--
This message was sent by Atlassian JIRA
(v6.2#6252)