From 0658872e405855f2c4edc6ac54f76c18cffdd454 Mon Sep 17 00:00:00 2001 From: Josh Grew Date: Fri, 21 Dec 2018 11:40:38 +0000 Subject: [PATCH 1/3] DOC: Update README with recent changes. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b83ece8..a04c464 100644 --- a/README.md +++ b/README.md @@ -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 From 3e88ffd961cb56fa05acd55acf9629ac72ffdb12 Mon Sep 17 00:00:00 2001 From: Josh Grew Date: Fri, 21 Dec 2018 11:45:24 +0000 Subject: [PATCH 2/3] DATA: Updated the Lite data files for December data. --- data/51Degrees-LiteV3.1.dat | 4 ++-- data/51Degrees-LiteV3.2.dat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/51Degrees-LiteV3.1.dat b/data/51Degrees-LiteV3.1.dat index c48761c..2d69cd5 100644 --- a/data/51Degrees-LiteV3.1.dat +++ b/data/51Degrees-LiteV3.1.dat @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:28f86e405a3bab53c72723d4e992681b1c3d50b9df2bee8438975189a1bb2cfd -size 137039185 +oid sha256:239ed3b6b84b472d00b8d19f1630562a67670fe63532dea37ddfa108c0ac050b +size 295 diff --git a/data/51Degrees-LiteV3.2.dat b/data/51Degrees-LiteV3.2.dat index 2988f04..1421542 100644 --- a/data/51Degrees-LiteV3.2.dat +++ b/data/51Degrees-LiteV3.2.dat @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:455abb0f261c80c84aa8d782604f11ecf978fbef1b3a5e34ab469759be6b4305 -size 115333455 +oid sha256:d26273c230d006ba1673bb4f7911d693a093185f4e39fc230aeaaf4a2e74fafe +size 295 From 2108be5a196e29bf929e0a825c5fe1ce1d5784b2 Mon Sep 17 00:00:00 2001 From: Josh Grew Date: Fri, 21 Dec 2018 11:46:52 +0000 Subject: [PATCH 3/3] BUG: Check that the queue is not null before sending NewDevice queue. For users who have disabled usage sharing. --- FoundationV3/Mobile/Detection/NewDevice.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/FoundationV3/Mobile/Detection/NewDevice.cs b/FoundationV3/Mobile/Detection/NewDevice.cs index 062094c..410131e 100644 --- a/FoundationV3/Mobile/Detection/NewDevice.cs +++ b/FoundationV3/Mobile/Detection/NewDevice.cs @@ -204,10 +204,12 @@ private static void Run(object state) var queue = (Queue)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");