mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
changed std::cerr to the new RsErr() method
This commit is contained in:
parent
1cee069243
commit
2748275397
@ -25,6 +25,7 @@
|
||||
#include <errno.h> // for errno
|
||||
#include <iostream>
|
||||
#include "util/rstime.h"
|
||||
#include "util/rsdebug.h"
|
||||
|
||||
#include "util/rstime.h"
|
||||
|
||||
@ -107,8 +108,7 @@ RsThread::~RsThread()
|
||||
{
|
||||
if(isRunning())
|
||||
{
|
||||
std::cerr << "(EE) Deleting a thread that is actually running! Something is very wrong here:" << std::endl;
|
||||
|
||||
RsErr() << "Deleting a thread that is still running! Something is very wrong here and Retroshare is likely to crash because of this." << std::endl;
|
||||
print_stacktrace();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user