Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Empty queue after flush
Browse files Browse the repository at this point in the history
  • Loading branch information
mikel_etxebarria committed Mar 10, 2016
1 parent 3cefd65 commit f6de622
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ApplicationInsights/Telemetry_Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,5 +279,6 @@ public function trackException(\Exception $ex, $properties = NULL, $measurements
public function flush()
{
$this->_channel->send();
$this->_channel->setQueue([]);
}
}

0 comments on commit f6de622

Please sign in to comment.