File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public function analyse(
7676 $ process = $ this ->processPool ->getProcess ($ identifier );
7777 $ process ->bindConnection ($ decoder , $ encoder );
7878 if (count ($ jobs ) === 0 ) {
79- $ this ->processPool ->quitProcess ($ identifier );
79+ $ this ->processPool ->tryQuitProcess ($ identifier );
8080 return ;
8181 }
8282
@@ -174,7 +174,7 @@ public function analyse(
174174 }
175175
176176 if (count ($ jobs ) === 0 ) {
177- $ this ->processPool ->quitProcess ($ processIdentifier );
177+ $ this ->processPool ->tryQuitProcess ($ processIdentifier );
178178 return ;
179179 }
180180
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function tryQuitProcess(string $identifier): void
4141 $ this ->quitProcess ($ identifier );
4242 }
4343
44- public function quitProcess (string $ identifier ): void
44+ private function quitProcess (string $ identifier ): void
4545 {
4646 $ process = $ this ->getProcess ($ identifier );
4747 $ process ->quit ();
You can’t perform that action at this time.
0 commit comments