Fixed companion FD for child zygotes

This commit is contained in:
snake-4
2024-04-17 00:27:40 +02:00
parent e22e81d792
commit c0246483b0
2 changed files with 2 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
#pragma once
#include <sstream>
#include <string>
#include <vector>

View File

@@ -96,6 +96,7 @@ public:
int companionFd = -1;
ASSERT_LOG("preAppSpecialize", (companionFd = api->connectCompanion()) != -1);
ASSERT_LOG("preAppSpecialize", companionFd != -1 && api->exemptFd(companionFd));
callbackFunction = [fd = companionFd]()
{