mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
handle case of null thread local in SegFaultHandler::handleSignal
This commit is contained in:
parent
0eba1eeaf2
commit
0a2e611baa
@ -6328,7 +6328,7 @@ class SegFaultHandler: public System::SignalHandler {
|
||||
void** thread)
|
||||
{
|
||||
MyThread* t = static_cast<MyThread*>(m->localThread->get());
|
||||
if (t->state == Thread::ActiveState) {
|
||||
if (t and t->state == Thread::ActiveState) {
|
||||
object node = methodForIp(t, *ip);
|
||||
if (node) {
|
||||
void* oldIp = t->ip;
|
||||
|
Loading…
Reference in New Issue
Block a user