mirror of https://github.com/nodejs/node.git
Fix Process::MaybeShutdown's return type
parent
c9cb41cf80
commit
4787a41b84
|
@ -473,7 +473,7 @@ Process::Kill (int sig)
|
|||
return kill(pid_, sig);
|
||||
}
|
||||
|
||||
int
|
||||
void
|
||||
Process::MaybeShutdown (void)
|
||||
{
|
||||
if (STDOUT_CLOSED && STDERR_CLOSED && got_chld_) {
|
||||
|
|
|
@ -36,7 +36,7 @@ class Process : EventEmitter {
|
|||
static void OnWritable (EV_P_ ev_io *watcher, int revents);
|
||||
static void OnCHLD (EV_P_ ev_child *watcher, int revents);
|
||||
|
||||
int MaybeShutdown (void);
|
||||
void MaybeShutdown (void);
|
||||
void Shutdown (void);
|
||||
|
||||
ev_io stdout_watcher_;
|
||||
|
|
Loading…
Reference in New Issue