[#BloombergLP-ball-AsyncFileObserver-releaseRecords] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AsyncFileObserver.adoc[AsyncFileObserver]::releaseRecords :relfileprefix: ../../../ :mrdocs: Discard shared references to `Record` objects held by this observer. == Synopsis Declared in `<ball_asyncfileobserver.h>` [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. Note that this operation should be called if resources underlying the previously provided shared pointers must be released. Also note that all currently queued records are discarded. [.small]#Created with https://www.mrdocs.com[MrDocs]#