MCPcopy Create free account
hub / github.com/LUX-Core/lux / ~TestingSetup

Method ~TestingSetup

src/test/test_lux.cpp:59–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 RegisterNodeSignals(GetNodeSignals());
58 }
59 ~TestingSetup()
60 {
61 threadGroup.interrupt_all();
62 threadGroup.join_all();
63 UnregisterNodeSignals(GetNodeSignals());
64#ifdef ENABLE_WALLET
65 delete pwalletMain;
66 pwalletMain = NULL;
67#endif
68 delete pcoinsTip;
69 delete pcoinsdbview;
70 delete pblocktree;
71#ifdef ENABLE_WALLET
72 bitdb.Flush(true);
73#endif
74 boost::filesystem::remove_all(pathTemp);
75 }
76};
77
78class CTxMemPoolEntry;

Callers

nothing calls this directly

Calls 2

UnregisterNodeSignalsFunction · 0.85
FlushMethod · 0.45

Tested by

no test coverage detected