mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-23 05:44:45 -04:00
changed std::cerr to the new RsErr() method
This commit is contained in:
parent
1cee069243
commit
2748275397
1 changed files with 2 additions and 2 deletions
|
@ -25,6 +25,7 @@
|
||||||
#include <errno.h> // for errno
|
#include <errno.h> // for errno
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include "util/rstime.h"
|
#include "util/rstime.h"
|
||||||
|
#include "util/rsdebug.h"
|
||||||
|
|
||||||
#include "util/rstime.h"
|
#include "util/rstime.h"
|
||||||
|
|
||||||
|
@ -107,8 +108,7 @@ RsThread::~RsThread()
|
||||||
{
|
{
|
||||||
if(isRunning())
|
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();
|
print_stacktrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue