MCPcopy Create free account
hub / github.com/ElementsProject/elements / DeleteCallback

Method DeleteCallback

src/logging.h:210–214  ·  view source on GitHub ↗

Delete a connection */

Source from the content-addressed store, hash-verified

208
209 /** Delete a connection */
210 void DeleteCallback(std::list<std::function<void(const std::string&)>>::iterator it)
211 {
212 StdLockGuard scoped_lock(m_cs);
213 m_print_callbacks.erase(it);
214 }
215
216 /** Start logging (and flush all buffered messages) */
217 bool StartLogging();

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.80
check_foundMethod · 0.80

Calls 1

eraseMethod · 0.45

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
check_foundMethod · 0.64