[#BloombergLP-ball-FileObserver-releaseRecords]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver.adoc[FileObserver]::releaseRecords
:relfileprefix: ../../../
:mrdocs:

Discard shared references to `Record` objects held by this observer&period;

== Synopsis

Declared in `&lt;ball&lowbar;fileobserver&period;h&gt;`

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

== Description

Discard any shared references to `Record` objects that were supplied to the `publish` method, and are held by this observer&period; Note that this operation should be called if resources underlying the previously provided shared pointers must be released&period;


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