File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -220,10 +220,8 @@ LoadedExecutablePlugin::PluginProcess::~PluginProcess() {
220
220
// that. Usually when the pipe is closed above, the plugin detects the EOF in
221
221
// the stdin and exits immediately, so this usually doesn't wait for the
222
222
// timeout. Note that we can't use '0' because it performs a non-blocking
223
- // wait, which make the plugin a zombie if it hasn't exited. We don't use
224
- // a small number like '1' because the timeout alarm(3) can fire before the
225
- // wait4(2).
226
- llvm::sys::Wait (process, /* SecondsToWait=*/ 10 );
223
+ // wait, which make the plugin a zombie if it hasn't exited.
224
+ llvm::sys::Wait (process, /* SecondsToWait=*/ 1 );
227
225
}
228
226
229
227
ssize_t LoadedExecutablePlugin::PluginProcess::read (void *buf,
You can’t perform that action at this time.
0 commit comments