Merge pull request #1626 from csoler/v0.6-Threads

added destructor in RsTickingThread calling for fullstop, which preve…
This commit is contained in:
csoler 2019-09-01 16:59:10 +02:00 committed by GitHub
commit 49b0fdf3aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -236,6 +236,10 @@ RsTickingThread::RsTickingThread()
#endif
}
RsTickingThread::~RsTickingThread()
{
fullstop();
}
void RsSingleJobThread::runloop()
{
run() ;

View File

@ -287,6 +287,7 @@ class RsTickingThread: public RsThread
{
public:
RsTickingThread();
virtual ~RsTickingThread();
void shutdown();
void fullstop();