diff --git a/ApplicationInsights/Telemetry_Client.php b/ApplicationInsights/Telemetry_Client.php index 2b29989..1f18849 100644 --- a/ApplicationInsights/Telemetry_Client.php +++ b/ApplicationInsights/Telemetry_Client.php @@ -279,5 +279,6 @@ public function trackException(\Exception $ex, $properties = NULL, $measurements public function flush() { $this->_channel->send(); + $this->_channel->setQueue([]); } } \ No newline at end of file