File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
core/src/main/java/com/microsoft/applicationinsights/internal/quickpulse Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3030import com .google .common .base .Preconditions ;
3131import com .microsoft .applicationinsights .internal .util .DeviceInfo ;
3232import com .microsoft .applicationinsights .internal .util .LocalStringsUtils ;
33+ import com .microsoft .applicationinsights .internal .util .ThreadPoolUtils ;
3334import org .apache .http .client .methods .HttpPost ;
3435
3536import com .microsoft .applicationinsights .TelemetryConfiguration ;
@@ -60,7 +61,7 @@ public void initialize() {
6061 public void initialize (final TelemetryConfiguration configuration ) {
6162 Preconditions .checkNotNull (configuration );
6263 final CountDownLatch latch = new CountDownLatch (1 );
63- Executors .newSingleThreadExecutor ().execute (new Runnable () {
64+ Executors .newSingleThreadExecutor (ThreadPoolUtils . createDaemonThreadFactory ( QuickPulse . class ) ).execute (new Runnable () {
6465 @ Override
6566 public void run () {
6667 initializeSync (latch , configuration );
You can’t perform that action at this time.
0 commit comments