Skip to content

Commit

Permalink
Fix long connection close
Browse files Browse the repository at this point in the history
  • Loading branch information
fieu committed Aug 30, 2020
1 parent e795e9b commit 95998ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/Commands/SendRconCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ public function handle()
$client->send($data);
$result = json_decode($client->receive());
echo $result->Message;
try {
$client->close();
} catch (TimeoutException $e) {
die(0);
}
die(0);
}
}

0 comments on commit 95998ec

Please sign in to comment.