Move heavy tasks out of constructor, make awaitable
- Add support for awaitable startup - Issue MatterHackers/MCCentral#2423 Select printer not changing to new printer
This commit is contained in:
parent
e4e5e59794
commit
4415300a1f
5 changed files with 66 additions and 67 deletions
|
|
@ -277,7 +277,7 @@ namespace MatterControl.Tests.MatterControl
|
|||
AggContext.StaticData = new FileSystemStaticData(TestContext.CurrentContext.ResolveProjectPath(4, "StaticData"));
|
||||
MatterControlUtilities.OverrideAppDataLocation(TestContext.CurrentContext.ResolveProjectPath(4));
|
||||
|
||||
var field = new ComPortField(new PrinterConfig(null, PrinterSettings.Empty));
|
||||
var field = new ComPortField(new PrinterConfig(PrinterSettings.Empty));
|
||||
|
||||
await ValidateAgainstValueMap(
|
||||
field,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue