Skip to content

Commit

Permalink
Use new JsConfig.InitStatics() dummy method
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 28, 2015
1 parent 8955d32 commit 6350a97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ServiceStack/ServiceStackHost.cs
Expand Up @@ -111,8 +111,7 @@ protected ServiceStackHost(string serviceName, params Assembly[] assembliesWithS
typeof(PostmanService),
};

// force deterministic initialization of static constructor
using (JsConfig.BeginScope()) { }
JsConfig.InitStatics();
}

public abstract void Configure(Container container);
Expand Down

0 comments on commit 6350a97

Please sign in to comment.