Log unhandled exceptions in connectionthreads to errorstream
This commit is contained in:
parent
944e79d7a6
commit
62ea342ad1
@ -1300,7 +1300,7 @@ void * ConnectionSendThread::Thread()
|
|||||||
/* send non reliable packets */
|
/* send non reliable packets */
|
||||||
sendPackets(dtime);
|
sendPackets(dtime);
|
||||||
|
|
||||||
END_DEBUG_EXCEPTION_HANDLER(derr_con);
|
END_DEBUG_EXCEPTION_HANDLER(errorstream);
|
||||||
}
|
}
|
||||||
|
|
||||||
PROFILE(g_profiler->remove(ThreadIdentifier.str()));
|
PROFILE(g_profiler->remove(ThreadIdentifier.str()));
|
||||||
@ -2085,7 +2085,7 @@ void * ConnectionReceiveThread::Thread()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
END_DEBUG_EXCEPTION_HANDLER(derr_con);
|
END_DEBUG_EXCEPTION_HANDLER(errorstream);
|
||||||
}
|
}
|
||||||
PROFILE(g_profiler->remove(ThreadIdentifier.str()));
|
PROFILE(g_profiler->remove(ThreadIdentifier.str()));
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user