File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -968,8 +968,8 @@ impl Process {
968968 }
969969
970970 pub ( crate ) fn send_signal ( & self , signal : i32 ) -> io:: Result < ( ) > {
971- // If we've already waited on this process then the pid can be recycled
972- // and used for another process, and we probably shouldn't be signaling
971+ // If we've already waited on this process then the pid can be recycled and
972+ // used for another process, and we probably shouldn't be sending signals to
973973 // random processes, so return Ok because the process has exited already.
974974 if self . status . is_some ( ) {
975975 return Ok ( ( ) ) ;
Original file line number Diff line number Diff line change @@ -151,8 +151,8 @@ impl Process {
151151 }
152152
153153 pub fn send_signal ( & self , signal : i32 ) -> io:: Result < ( ) > {
154- // If we've already waited on this process then the pid can be recycled
155- // and used for another process, and we probably shouldn't be killing
154+ // If we've already waited on this process then the pid can be recycled and
155+ // used for another process, and we probably shouldn't be sending signals to
156156 // random processes, so return Ok because the process has exited already.
157157 if self . status . is_some ( ) {
158158 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments