Skip to content

Commit

Permalink
TCP: clear error variable before next request (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Jun 25, 2024
1 parent e7709ed commit c9db5fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tcp/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public function serve(WorkerInterface $worker = null, callable $finalize = null)
if ($finalize !== null) {
isset($e) ? $finalize($e) : $finalize();
}

unset($e);
}
}
}
Expand Down

0 comments on commit c9db5fb

Please sign in to comment.