Skip to content

Commit

Permalink
Remove STAThread in Console App as causes unloading AppDomain to hang
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Jun 28, 2017
1 parent 5bf3019 commit 7462da4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified lib/Gistlyn.Resources.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Gistlyn.AppConsole/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ static class Program
/// <summary>
/// The main entry point for the application
/// </summary>
[STAThread]
//[STAThread] Makes unloading the script AppDomain hang
static void Main(string[] args)
{
new AppHost().Init().Start("http://*:4000/");
Expand Down
2 changes: 1 addition & 1 deletion src/Gistlyn/Gistlyn.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>64025</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:4000/</IISUrl>
<IISUrl>http://localhost:4001/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
Expand Down

0 comments on commit 7462da4

Please sign in to comment.