mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Fix Process::MaybeShutdown's return type
This commit is contained in:
1 parent
c9cb41cf80
commit
4787a41b84
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -473,7 +473,7 @@ Process::Kill (int sig)
|
||||
return kill(pid_, sig);
|
||||
}
|
||||
|
||||
int
|
||||
void
|
||||
Process::MaybeShutdown (void)
|
||||
{
|
||||
if (STDOUT_CLOSED && STDERR_CLOSED && got_chld_) {
|
||||
|
||||
+1
-1
@@ -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_;
|
||||
|
||||
Reference in new issue
Block a user