start/stop zcashd.exe on windows

This commit is contained in:
adityapk00
2018-11-03 15:28:02 -07:00
parent c9dea0fe15
commit d5e3af588e
3 changed files with 15 additions and 2 deletions

View File

@@ -839,6 +839,9 @@ void RPC::shutdownZcashd() {
d.setWindowFlags(Qt::SplashScreen);
QTimer waiter(main);
// We capture by reference all the local variables because of the d.exec()
// below, which blocks this function until we exit.
QObject::connect(&waiter, &QTimer::timeout, [&] () {
if (ezcashd->atEnd()) {
qDebug() << "Ended";