Skip to content

Commit

Permalink
Merge pull request #359 from basho/rz-wait-for-cmd
Browse files Browse the repository at this point in the history
Faster wait_for_cmd that preserves order
  • Loading branch information
rzezeski committed Aug 21, 2013
2 parents a422d41 + f91339a commit 10f327c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/rtdev.erl
Expand Up @@ -499,9 +499,6 @@ wait_for_cmd(Port) ->
rt:wait_until(node(),
fun(_) ->
receive
{Port, Msg={data, _}} ->
self() ! {Port, Msg},
false;
{Port, Msg={exit_status, _}} ->
catch port_close(Port),
self() ! {Port, Msg},
Expand Down

0 comments on commit 10f327c

Please sign in to comment.