Skip to content

Commit

Permalink
Fixed transport sending
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wright <tom@inflatablecookie.com>
  • Loading branch information
betterthanclay committed Oct 1, 2019
1 parent 35648de commit 2b7ffeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Glitch/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public function dumpValues(array $values, int $rewind=0, bool $exit=true): void
unset($inspector);

$packet = $this->getRenderer()->renderDump($dump);
$this->getTransport()->sendDump($packet);
$this->getTransport()->sendDump($packet, $exit);

if ($exit) {
exit(1);
Expand Down Expand Up @@ -230,7 +230,7 @@ public function dumpException(\Throwable $exception, bool $exit=true): void
unset($inspector);

$packet = $this->getRenderer()->renderException($exception, $entity, $dump);
$this->getTransport()->sendException($packet);
$this->getTransport()->sendException($packet, $exit);

if ($exit) {
exit(1);
Expand Down

0 comments on commit 2b7ffeb

Please sign in to comment.