Skip to content

Commit 740f5c7

Browse files
Fix zombie problems.
1 parent e803c57 commit 740f5c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/PythonBridge-Pharo/PBPharoPipenvProcess.class.st

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ PBPharoPipenvProcess >> start [
137137
{ #category : #'start-stop' }
138138
PBPharoPipenvProcess >> stop [
139139
process ifNil: [ ^ self ].
140-
process isRunning ifTrue: [ process terminate ].
140+
[process queryExitStatus ifNil: [ process terminate ]]
141+
on: Error
142+
do: [ :e | "Do nothing."].
141143
process closeAndCleanStreams
142144
]

0 commit comments

Comments
 (0)