Skip to content

Commit

Permalink
io.launcher: Fix bug -- if dispose fails, still call dispose on the o…
Browse files Browse the repository at this point in the history
…ther

resource.
  • Loading branch information
erg committed May 19, 2013
1 parent 7c1caac commit 1136ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basis/io/launcher/launcher.factor
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ M: process cancel-operation kill-process ;

M: object run-pipeline-element
[ >process swap >>stdout swap >>stdin run-detached ]
[ drop [ [ dispose ] when* ] bi@ ]
[ [ drop [ [ &dispose drop ] when* ] bi@ ] with-destructors ]
3bi
wait-for-process ;

Expand Down

0 comments on commit 1136ed9

Please sign in to comment.