Justin Kotalik
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
1 deletions
-
src/Microsoft.Tye.Hosting/ProxyService.cs
|
|
|
@ -185,7 +185,15 @@ namespace Microsoft.Tye.Hosting |
|
|
|
|
|
|
|
if (_host != null) |
|
|
|
{ |
|
|
|
await _host.StopAsync(); |
|
|
|
try |
|
|
|
{ |
|
|
|
await _host.StopAsync(); |
|
|
|
} |
|
|
|
catch (ObjectDisposedException) |
|
|
|
{ |
|
|
|
// System.ObjectDisposedException: Cannot access a disposed object.
|
|
|
|
// From Bedrock.Framework. As we plan on removing this long term, not going to directly fix in bedrock.
|
|
|
|
} |
|
|
|
|
|
|
|
if (_host is IAsyncDisposable disposable) |
|
|
|
{ |
|
|
|
|