Windows: kill tor on exit

This commit is contained in:
tobtoht
2020-10-09 14:28:05 +02:00
parent 1337baf832
commit bc65a2ab58
3 changed files with 14 additions and 8 deletions
+2
View File
@@ -932,6 +932,8 @@ void MainWindow::homeWidgetChanged(const QString &widgetName) {
}
void MainWindow::closeEvent(QCloseEvent *event) {
m_ctx->tor->stop();
this->saveGeo();
if(m_wizard != nullptr)
m_wizard->close();