[#BloombergLP-bslstl-StopState-deregister]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StopState.adoc[StopState]::deregister
:relfileprefix: ../../../
:mrdocs:

Remove `node` from this stop state, or wait if its callback is executing&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;stopstate&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
deregister(xref:BloombergLP/bslstl/StopStateCallbackNode.adoc[StopStateCallbackNode]* node);
----

== Description

If the callback of the specified `node` is currently executing, wait for it to complete&period; Otherwise, remove `node` from the list of nodes registered to this state&period; The behavior is undefined if this method is called more than once for a given `node` or if `node` was not previously registered to this state by a call to `enregister` that returned `true`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *node*
| callback node to deregister
|===


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