HTTP server #44

Merged
JakeHillion merged 3 commits from http-server-v2 into main 2022-05-21 17:56:55 +01:00
Showing only changes of commit b7abf4fa07 - Show all commits

View File

@ -135,14 +135,6 @@ impl VoidBuilder {
}
debug!("cloned child: {}", child);
// Leak the child function's resources in the parent process.
// This avoids closing files that have been "moved" into the child.
// It is also an over-approximation, and may cause actual memory leaks.
// As the spawning process is normally short lived, this shouldn't
// be a problem.
std::mem::forget(child_fn);
Ok(VoidHandle { pid: child })
}