Commit 2f7de027 authored by LM's avatar LM

Not-so-clean threading fix, needs further inspection

parent aafc4330
...@@ -50,10 +50,7 @@ JoystickInput::JoystickInput() : ...@@ -50,10 +50,7 @@ JoystickInput::JoystickInput() :
JoystickInput::~JoystickInput() JoystickInput::~JoystickInput()
{ {
done = true; done = true;
while (done) QGC::SLEEP::usleep(50000);
{
QGC::SLEEP::usleep(5000);
}
this->deleteLater(); this->deleteLater();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment