Skip to content

Commit

Permalink
Properly close websocket connection
Browse files Browse the repository at this point in the history
  • Loading branch information
fieu committed Aug 27, 2020
1 parent da0127e commit c4cdf01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Commands/SendRconCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function handle()
]);
$client->send($data);
$result = json_decode($client->receive());
echo $result->Message;
echo $result->Message;
$client->close();
}
}

0 comments on commit c4cdf01

Please sign in to comment.