Skip to content

Commit

Permalink
AbstractLogger: End event in case of first read.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek authored Jun 25, 2021
1 parent d721e99 commit 68778ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Logger/AbstractLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public function stopQuery(): ?Event
}

$event = $this->events[$key];
$event->end();

if (
$locked === false
Expand Down

0 comments on commit 68778ff

Please sign in to comment.