Skip to content

Commit 67f0477

Browse files
committed
Update Startup.cs
Macos Dot DisposeAsync
1 parent e464f28 commit 67f0477

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/BD.WTTS.Client/Startup/Startup.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,11 @@ static string GetAssemblyLocation()
527527

528528
try
529529
{
530+
#if MACOS
531+
Ioc.Dispose();
532+
#else
530533
await Ioc.DisposeAsync();
534+
#endif
531535
}
532536
catch (Exception ex)
533537
{

0 commit comments

Comments
 (0)