[#BloombergLP-bsls-BslLockGuard-2destructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/BslLockGuard.adoc[BslLockGuard]::&#126;BslLockGuard
:relfileprefix: ../../../
:mrdocs:

Destroy this guard object and release the lock on the object it manages (if any) by invoking the `unlock` method of the object that was supplied at construction of this guard&period; If no lock is currently being managed, this method has no effect&period; Note that if this guard object currently manages a lock, this method assumes the behavior of `BslLock&colon;&colon;unlock`&period;

== Synopsis

Declared in `&lt;bsls&lowbar;bsllock&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&#126;BslLockGuard();
----


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