Fixed terminal issues after exit on Linux and OS X.

This commit is contained in:
XMRig 2017-08-04 11:10:33 +03:00
parent 7004a51ce6
commit 816fc3ee43
2 changed files with 3 additions and 2 deletions

View file

@ -115,6 +115,7 @@ int App::exec()
const int r = uv_run(uv_default_loop(), UV_RUN_DEFAULT);
uv_loop_close(uv_default_loop());
uv_tty_reset_mode();
free(m_network);
free(m_options);