[#BloombergLP-bdlcc-SharedObjectPool_Rep-disposeObject]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SharedObjectPool_Rep.adoc[SharedObjectPool&lowbar;Rep]::disposeObject
:relfileprefix: ../../../
:mrdocs:

Release the object managed by this representation&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;sharedobjectpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
disposeObject() override;
----

== Description

Release the object being managed by this representation&period; This method is invoked when the number of strong references reaches zero&period; Note that if there are any weak references to the shared object then this function does nothing, including not destroying the object or returning it to the pool&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
