[#BloombergLP-ball-StreamObserver-releaseRecords] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/StreamObserver.adoc[StreamObserver]::releaseRecords :relfileprefix: ../../../ :mrdocs: Discard any shared reference to a `Record` object held by this observer. == Synopsis Declared in `<ball_streamobserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void releaseRecords() override; ---- == Description Discard any shared reference to a `Record` object that was supplied to the `publish` method, and is held by this observer. Note that this operation should be called if resources underlying the previously provided shared‐pointers must be released. This method intentionally does nothing as such resources are held, we publish all records immediately. [.small]#Created with https://www.mrdocs.com[MrDocs]#