Skip to content

Commit

Permalink
Clean up + bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
rawleyfowler committed Nov 5, 2023
1 parent 3437318 commit e401fed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
"Test::Util::ServerPort",
"Cro::HTTP::Client"
],
"version": "2.1.7"
"version": "2.2.0"
}
2 changes: 1 addition & 1 deletion lib/Humming-Bird/HTTPServer.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Humming-Bird::HTTPServer is export {
$!lock.protect({
@!connections = @!connections.grep({ !$_<closed>.defined }); # Remove dead connections
for @!connections.grep({ now - $_<last-active> >= $!timeout }) {
try {
{
$_<closed> = True;
$_<socket>.write(Blob.new);
$_<socket>.close;
Expand Down

0 comments on commit e401fed

Please sign in to comment.