Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Commit

Permalink
Make DomainManager noop for child appdomains
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed Mar 1, 2015
1 parent 635c42f commit 16fd19a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/kre.clr.managed/DomainManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ public class DomainManager : AppDomainManager

public override void InitializeNewDomain(AppDomainSetup appDomainInfo)
{
// Do nothing if this isn't the default app domain
if (!AppDomain.CurrentDomain.IsDefaultAppDomain())
{
return;
}

_info.Main = Main;
BindApplicationMain(ref _info);

Expand Down

0 comments on commit 16fd19a

Please sign in to comment.