kevent: fix race on process exit event

This commit is contained in:
DH 2024-08-31 23:59:28 +03:00
parent d0d22529f9
commit b0b0226064
3 changed files with 7 additions and 0 deletions

View file

@ -65,6 +65,7 @@ struct Process final {
sint budgetId{1};
bool isInSandbox = false;
EventEmitter event;
std::optional<sint> exitStatus;
std::uint32_t sdkVersion = -1;
std::uint64_t nextTlsSlot = 1;