| 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 | |
| 78 | class CTxMemPoolEntry; |
nothing calls this directly
no test coverage detected