mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 13:11:00 +01:00
Merge pull request #14667 from Mic92/fix-remote-builder-hang
daemon: fix hang on SSH disconnect during remote builds
This commit is contained in:
commit
11b0fcd6cd
1 changed files with 1 additions and 0 deletions
|
|
@ -1025,6 +1025,7 @@ void processConnection(ref<Store> store, FdSource && from, FdSink && to, Trusted
|
|||
#ifndef _WIN32 // TODO need graceful async exit support on Windows?
|
||||
auto monitor = !recursive ? std::make_unique<MonitorFdHup>(from.fd) : nullptr;
|
||||
(void) monitor; // suppress warning
|
||||
ReceiveInterrupts receiveInterrupts;
|
||||
#endif
|
||||
|
||||
/* Exchange the greeting. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue