If a callback is associated with this connection, prevent it from being called in the future.
Declared in <util/btcsignals.h>
void
disconnect();
If a connection is disabled as part of a signal's callback function, it will not be executed in the current signal invocation.
Note that disconnected callbacks are not removed from their owning signals here. They are garbage collected in signal::connect().