Skip to content

Commit

Permalink
fix: Allow the thread to be terminated (#81)
Browse files Browse the repository at this point in the history
This was lost during a merge and causes the thread to not be
terminated when the application closes
  • Loading branch information
martin308 authored and kattrali committed Mar 28, 2018
1 parent ea78df4 commit 0d434a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bugsnag/ThreadQueueDelivery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class ThreadQueueDelivery : IDelivery
private ThreadQueueDelivery()
{
_queue = new BlockingQueue<IPayload>();
_worker = new Thread(new ThreadStart(ProcessQueue));
_worker = new Thread(new ThreadStart(ProcessQueue)) { IsBackground = true };
_worker.Start();
}

Expand Down

0 comments on commit 0d434a8

Please sign in to comment.