Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 403491d

Browse files
committed
Also call InitStatics() on RegisterLicense()
1 parent 5492bef commit 403491d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ServiceStack.Text/LicenseUtils.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ public static void AssertEvaluationLicense()
164164
private static LicenseKey __activatedLicense;
165165
public static void RegisterLicense(string licenseKeyText)
166166
{
167+
JsConfig.InitStatics();
168+
167169
string cutomerId = null;
168170
#if !PCL
169171
var hold = Thread.CurrentThread.CurrentCulture;

0 commit comments

Comments
 (0)