[#BloombergLP-bdls-FileDescriptorGuard-closeAndRelease] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FileDescriptorGuard.adoc[FileDescriptorGuard]::closeAndRelease :relfileprefix: ../../../ :mrdocs: Close the file managed by this guard and release that file from management by this object. The behavior is undefined unless this object is managing a file. == Synopsis Declared in `<bdls_filedescriptorguard.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void closeAndRelease(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#