mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 09:27:09 -05:00
added destructor in RsTickingThread calling for fullstop, which prevents the crash due to threads being killed when still running
This commit is contained in:
parent
840402970c
commit
1bf07f72c4
@ -236,6 +236,10 @@ RsTickingThread::RsTickingThread()
|
||||
#endif
|
||||
}
|
||||
|
||||
RsTickingThread::~RsTickingThread()
|
||||
{
|
||||
fullstop();
|
||||
}
|
||||
void RsSingleJobThread::runloop()
|
||||
{
|
||||
run() ;
|
||||
|
@ -287,6 +287,7 @@ class RsTickingThread: public RsThread
|
||||
{
|
||||
public:
|
||||
RsTickingThread();
|
||||
virtual ~RsTickingThread();
|
||||
|
||||
void shutdown();
|
||||
void fullstop();
|
||||
|
Loading…
Reference in New Issue
Block a user