Fixed StackOverflow when accessing EthernetHelper.LanHelper (which nobody has probably ever accessed.)

This commit is contained in:
Heath Volmer
2018-09-07 18:02:12 -06:00
parent cc2841b4fd
commit 50f34a5af2
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ namespace PepperDash.Core
get
{
if (_LanHelper == null) _LanHelper = new EthernetHelper(0);
return LanHelper;
return _LanHelper;
}
}
static EthernetHelper _LanHelper;