mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-11 08:39:35 +01:00
Some cleanup
This commit is contained in:
1 parent
faab4ed6db
commit
d1fff053c2
23 files changed
+278
-850
No files matched your search
+16
-1
@@ -52,7 +52,22 @@ void ThreadBase::Start()
|
||||
g_tls_this_thread = this;
|
||||
g_thread_count++;
|
||||
|
||||
Task();
|
||||
try
|
||||
{
|
||||
Task();
|
||||
}
|
||||
catch (const std::string& e)
|
||||
{
|
||||
LOG_ERROR(GENERAL, "Exception: %s", e.c_str());
|
||||
}
|
||||
catch (const char* e)
|
||||
{
|
||||
LOG_ERROR(GENERAL, "Exception: %s", e);
|
||||
}
|
||||
catch (int exitcode)
|
||||
{
|
||||
LOG_SUCCESS(GENERAL, "Exit Code: %d", exitcode);
|
||||
}
|
||||
|
||||
m_alive = false;
|
||||
g_thread_count--;
|
||||
|
||||
Reference in new issue
Block a user