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

Commit f6de622

Browse files
author
mikel_etxebarria
committed
Empty queue after flush
1 parent 3cefd65 commit f6de622

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ApplicationInsights/Telemetry_Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,6 @@ public function trackException(\Exception $ex, $properties = NULL, $measurements
279279
public function flush()
280280
{
281281
$this->_channel->send();
282+
$this->_channel->setQueue([]);
282283
}
283284
}

0 commit comments

Comments
 (0)