[#BloombergLP-bslmt-WriteLockGuard-2destructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/WriteLockGuard.adoc[WriteLockGuard]::~WriteLockGuard :relfileprefix: ../../../ :mrdocs: Destroy this scoped guard and invoke the `unlock` method on the lock object under management by this guard, if any. If no lock is currently being managed, this method has no effect. == Synopsis Declared in `<bslmt_writelockguard.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- ~WriteLockGuard(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#