-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved the _checkLicense() code to prevent cases where we falsely d…
…ecided that the license key is definitely invalid and that we don't need to fallback to the cache. Now we have much better code that explicitly encodes whether the server told us that the license is *definitively* valid or invalid, or if the server's response does not indicate for sure whether a license is valid or not. And then we fall back to the cache whenever the server's response is not clear. This might fix issues such as #1136. I reviewed these changes pretty meticulously, but still might have introduced bugs, since we changed the logic pretty substantially.
- Loading branch information
1 parent
1113b33
commit 4d24927
Showing
4 changed files
with
134 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.