1 |
/* |
/* |
2 |
* LSCP Shell |
* LSCP Shell |
3 |
* |
* |
4 |
* Copyright (c) 2014 Christian Schoenebeck |
* Copyright (c) 2014 - 2017 Christian Schoenebeck |
5 |
* |
* |
6 |
* This program is part of LinuxSampler and released under the same terms. |
* This program is part of LinuxSampler and released under the same terms. |
7 |
*/ |
*/ |
21 |
} |
} |
22 |
|
|
23 |
KeyboardReader::~KeyboardReader() { |
KeyboardReader::~KeyboardReader() { |
24 |
|
StopThread(); |
25 |
TerminalCtrl::restore(m_originalTerminalSetting); |
TerminalCtrl::restore(m_originalTerminalSetting); |
26 |
// ensures that no temporary copy objects delete the global reference |
// ensures that no temporary copy objects delete the global reference |
27 |
g_instanceCount--; |
g_instanceCount--; |