mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 20:03:03 +01:00
Fixed CORE-5891: Invalid events are released in mapping shared memory when dead process is detected
This commit is contained in:
parent
f6b33b9310
commit
75b4443fae
@ -746,8 +746,8 @@ public:
|
|||||||
if (!ISC_check_process_existence(p->id))
|
if (!ISC_check_process_existence(p->id))
|
||||||
{
|
{
|
||||||
p->flags &= ~MappingHeader::FLAG_ACTIVE;
|
p->flags &= ~MappingHeader::FLAG_ACTIVE;
|
||||||
sharedMemory->eventFini(&sMem->process[process].notifyEvent);
|
sharedMemory->eventFini(&p->notifyEvent);
|
||||||
sharedMemory->eventFini(&sMem->process[process].callbackEvent);
|
sharedMemory->eventFini(&p->callbackEvent);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user