| 43 | {} |
| 44 | |
| 45 | BlockChain::~BlockChain() { |
| 46 | startFuture.cancel_and_wait(__FUNCTION__); |
| 47 | chainThread->async([this] { |
| 48 | grapheneApp->shutdown_plugins(); |
| 49 | delete grapheneApp; |
| 50 | }).wait(); |
| 51 | delete chainThread; |
| 52 | } |
| 53 | |
| 54 | void BlockChain::start() |
| 55 | { |
nothing calls this directly
no test coverage detected