[#BloombergLP-bslmt-OnceGuard-2destructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/OnceGuard.adoc[OnceGuard]::~OnceGuard :relfileprefix: ../../../ :mrdocs: Destroy this object. If this object is not in an "in‐progress" state, do nothing. If this object is in an "in‐progress" state and is being destroyed in the course of normal processing, then call `leave` on the associated `Once` object. == Synopsis Declared in `<bslmt_once.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- ~OnceGuard(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#