mirror of
https://github.com/microsoft/WSL.git
synced 2026-02-04 02:06:49 -06:00
pr feedback
This commit is contained in:
parent
b79b8ce429
commit
041dd4ebfb
@ -61,7 +61,13 @@ try
|
||||
// Ensure that the other end of the pipe has connected if required.
|
||||
if (connectPipe)
|
||||
{
|
||||
wsl::windows::common::helpers::ConnectPipe(pipe.get(), (15 * 1000), {exitEvent.get()});
|
||||
std::vector<HANDLE> exitEvents;
|
||||
if (exitEvent)
|
||||
{
|
||||
exitEvents.push_back(exitEvent.get());
|
||||
}
|
||||
|
||||
wsl::windows::common::helpers::ConnectPipe(pipe.get(), (15 * 1000), exitEvents);
|
||||
}
|
||||
|
||||
// Perform the requested operation.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user