...
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user