Skip to content

Commit

Permalink
Merge pull request #59 from mundifex/stash-deadlock-fix
Browse files Browse the repository at this point in the history
Fix deadlock in stash levels
  • Loading branch information
blinry committed Apr 12, 2021
2 parents b8a18c4 + c2a2f87 commit 1606e05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/net-test
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ while(true) {
STDOUT->flush();

$s = "";
$command = $s2 . "\necho MAGIC\n";
$command = $s2 . "\necho -e \"\\v\"\n";
print $in $command;

inner_while: while (true) {
$line = <$out>;
if ($line eq "MAGIC\n") {
if ($line =~ s/\cK//) {
STDOUT->flush();
last inner_while;
}
Expand Down

0 comments on commit 1606e05

Please sign in to comment.