diff --git a/src/thread/pitimer.cpp b/src/thread/pitimer.cpp index 605d1ebb..33d979cc 100755 --- a/src/thread/pitimer.cpp +++ b/src/thread/pitimer.cpp @@ -322,7 +322,8 @@ void _PITimerImp_Pool::Pool::add(_PITimerImp_Pool * t) { //piCout << "add ..."; lock(); to_remove.removeOne(t); - if (!timers.contains(t)) timers << t; + if (!timers.contains(t)) + timers << t; unlock(); //piCout << "add done"; }