git-svn-id: svn://db.shs.com.ru/pip@679 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -83,12 +83,14 @@ public:
|
|||||||
next_overload = false;
|
next_overload = false;
|
||||||
mutex.unlock();
|
mutex.unlock();
|
||||||
}
|
}
|
||||||
void stopCalc() {
|
void stopCalc(int wait_delay = 100) {
|
||||||
if (isRunning()) {
|
if (isRunning()) {
|
||||||
stop();
|
stop();
|
||||||
if (!waitForFinish(100)) terminate();
|
if (!waitForFinish(wait_delay)) {
|
||||||
mutex.unlock();
|
mutex_l.unlock();
|
||||||
mutex_l.unlock();
|
mutex.unlock();
|
||||||
|
terminate();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Tout getLast() {
|
Tout getLast() {
|
||||||
|
|||||||
Reference in New Issue
Block a user