Skip to content

Commit

Permalink
RELEASE: December data and Usage sharing fix
Browse files Browse the repository at this point in the history
BUG: Check that the queue is not null before sending NewDevice queue. For users who have disabled usage sharing.
DATA: Updated the Lite data files for December data.
DOC: Update README with recent changes.
  • Loading branch information
Josh Grew authored and Josh Grew committed Dec 21, 2018
2 parents 9ba53f8 + 2108be5 commit 265ce72
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
8 changes: 5 additions & 3 deletions FoundationV3/Mobile/Detection/NewDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,12 @@ private static void Run(object state)
var queue = (Queue<byte[]>)state;
try
{
// Check that the queue isn't empty. This can happen if a signle Module didn't
// Check that the queue isn't empty. This can happen if a single Module didn't
// record any information before it was disposed of. This check prevents empty
// requests being sent.
if (queue.Count > 0)
// requests being sent. Check to make sure the queue is not null for those who
// have disabled Usage Sharing.
if (queue != null &&
queue.Count > 0)
{
#if DEBUG
EventLog.Debug("Sending NewDevice Queue");
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ Data files which are updated weekly and daily, automatically, and with more prop

## Recent Changes

### Version 3.2.21 Highlights
### Version 3.2.22 Highlights

* Updated the Lite Binary files for November 2018.
* Updated the Lite Binary files for December 2018.
* Added an additional check to ensure Usage Sharing process is not executed for those who have it disabled.

### Major Changes in Version 3.2

Expand Down
4 changes: 2 additions & 2 deletions data/51Degrees-LiteV3.1.dat
Git LFS file not shown
4 changes: 2 additions & 2 deletions data/51Degrees-LiteV3.2.dat
Git LFS file not shown

0 comments on commit 265ce72

Please sign in to comment.