This commit is contained in:
2024-11-15 12:49:11 +03:00
parent 285f8de1f7
commit 221f595bcb
6 changed files with 23 additions and 16 deletions

View File

@@ -10,7 +10,6 @@ ABSTRACT DEVICE COMPONENTS LIBRARY
#include <functional>
#include <list>
#include <set>
#include <thread>
#include <unordered_map>
#if __has_include(<unistd.h>) // POSIX
@@ -52,8 +51,6 @@ public:
tmp_path = std::filesystem::current_path().root_path();
}
// _ioContext.notify_fork(asio::execution_context::fork_prepare);
if (pid_t pid = fork()) {
if (pid > 0) {
exit(0);
@@ -82,7 +79,6 @@ public:
close(1);
close(2);
// _ioContext.notify_fork(asio::io_context::fork_child);
#endif
daemonizeFinalize();
}