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

Function StopMapPort

src/mapport.cpp:321–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321void StopMapPort()
322{
323 if (g_mapport_thread.joinable()) {
324 g_mapport_thread.join();
325 g_mapport_interrupt.reset();
326 }
327}
328
329#else // #if defined(USE_NATPMP) || defined(USE_UPNP)
330void StartMapPort(bool use_upnp, bool use_natpmp)

Callers 2

ShutdownFunction · 0.85
DispatchMapPortFunction · 0.85

Calls 2

joinMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected