mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 18:11:05 +00:00
Fix uv_tty_reset_mode on Linux.
This commit is contained in:
parent
4c95136e6a
commit
8d61a47040
2 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,6 @@ xmrig::App::App(Process *process) :
|
|||
|
||||
xmrig::App::~App()
|
||||
{
|
||||
uv_tty_reset_mode();
|
||||
|
||||
delete m_signals;
|
||||
delete m_console;
|
||||
delete m_controller;
|
||||
|
|
|
@ -53,6 +53,8 @@ xmrig::Console::~Console()
|
|||
|
||||
void xmrig::Console::stop()
|
||||
{
|
||||
uv_tty_reset_mode();
|
||||
|
||||
Handle::close(m_tty);
|
||||
m_tty = nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue