From bb34b4d5b6affa54d8ccc0841235a120efdcc18e Mon Sep 17 00:00:00 2001 From: xcube Date: Wed, 20 Dec 2017 16:27:11 +0100 Subject: [PATCH] xmr_arch64 - Version 0.0.2 --- src/App.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/App.cpp b/src/App.cpp index 1aae7ae0..e8186261 100644 --- a/src/App.cpp +++ b/src/App.cpp @@ -24,8 +24,7 @@ #include #include - - +//--- #include "api/Api.h" #include "App.h" #include "Console.h" @@ -113,11 +112,9 @@ int App::exec() if (!m_options) { return 0; } - uv_signal_start(&m_signal, App::onSignal, SIGHUP); uv_signal_start(&m_signal, App::onSignal, SIGTERM); uv_signal_start(&m_signal, App::onSignal, SIGINT); - background(); if (!CryptoNight::init(m_options->algo(), m_options->algoVariant())) { @@ -136,16 +133,14 @@ int App::exec() m_httpd = new Httpd(m_options->apiPort(), m_options->apiToken()); m_httpd->start(); # endif - Workers::start(m_options->affinity(), m_options->priority()); - m_network->connect(); + m_network->connect(); const int r = uv_run(uv_default_loop(), UV_RUN_DEFAULT); uv_loop_close(uv_default_loop()); delete m_network; - Options::release(); Mem::release(); Platform::release();