Newer
Older
#include "QGCUASWorker.h"
#include <QGC.h>
#include <QCoreApplication>
#include <QDebug>
QGCUASWorker::QGCUASWorker() : QThread(),
_should_exit(false)
void QGCUASWorker::quit()
{
_should_exit = true;
}
while(!_should_exit) {
QCoreApplication::processEvents();
QGC::SLEEP::msleep(2);
}