PIObject::deleteLater important fix

PIWaitEvent::sleep() method
PITimer thread imp wait optimization, migrate to interruptable sleeps
This commit is contained in:
2022-11-10 12:26:08 +03:00
parent d9eac06749
commit 398d760ba9
6 changed files with 58 additions and 9 deletions

View File

@@ -485,7 +485,7 @@ void __PIThreadCollection::stoppedAuto() {
auto_mutex.lock();
auto_threads_.removeAll(t);
auto_mutex.unlock();
delete t;
t->deleteLater();
}