git-svn-id: svn://db.shs.com.ru/pip@236 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2016-08-23 13:24:12 +00:00
parent 7b227f15ac
commit fb25f8dbfe
16 changed files with 136 additions and 57 deletions

View File

@@ -183,7 +183,7 @@ void PIIODevice::write_func() {
void PIIODevice::terminate() {
timer.stop();
thread_started_ = false;
if (!isInitialized()) return;
if (!init_) return;
if (isRunning()) {
stop();
PIThread::terminate();