git-svn-id: svn://db.shs.com.ru/pip@259 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -1044,6 +1044,8 @@ PIVector<PIIODevice * > PIConnection::DevicePool::boundedDevices(const PIConnect
|
|||||||
PIConnection::DevicePool::DeviceData::~DeviceData() {
|
PIConnection::DevicePool::DeviceData::~DeviceData() {
|
||||||
if (rthread != 0) {
|
if (rthread != 0) {
|
||||||
rthread->stop();
|
rthread->stop();
|
||||||
|
if (!rthread->waitForFinish(1000))
|
||||||
|
rthread->terminate();
|
||||||
delete rthread;
|
delete rthread;
|
||||||
rthread = 0;
|
rthread = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user