| 169 | static CScheduler scheduler; |
| 170 | |
| 171 | void Interrupt() |
| 172 | { |
| 173 | InterruptHTTPServer(); |
| 174 | InterruptHTTPRPC(); |
| 175 | InterruptRPC(); |
| 176 | InterruptREST(); |
| 177 | InterruptTorControl(); |
| 178 | InterruptMapPort(); |
| 179 | if (g_connman) |
| 180 | g_connman->Interrupt(); |
| 181 | if (g_txindex) { |
| 182 | g_txindex->Interrupt(); |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | void Shutdown() |
| 187 | { |
no test coverage detected