Exception when stopping tye with CTRL+C
See original GitHub issueDescribe the bug
Getting this: [07:09:22 ERR] Error while shutting down System.AggregateException: One or more hosted services failed to stop. (Cannot access a disposed object. Object name: ‘Bedrock.Framework.TimerAwaitable’.) —> System.ObjectDisposedException: Cannot access a disposed object. Object name: ‘Bedrock.Framework.TimerAwaitable’. at Bedrock.Framework.TimerAwaitable.Stop() at Bedrock.Framework.Server.StopAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.StopAsync(CancellationToken cancellationToken) — End of inner exception stack trace — at Microsoft.Extensions.Hosting.Internal.Host.StopAsync(CancellationToken cancellationToken) at Microsoft.Tye.Hosting.ProxyService.StopAsync(Application application) in //src/Microsoft.Tye.Hosting/ProxyService.cs:line 190 at Microsoft.Tye.Hosting.AggregateApplicationProcessor.StopAsync(Application application) in //src/Microsoft.Tye.Hosting/AggregateApplicationProcessor.cs:line 39 at Microsoft.Tye.Hosting.AggregateApplicationProcessor.StopAsync(Application application) in //src/Microsoft.Tye.Hosting/AggregateApplicationProcessor.cs:line 49 at Microsoft.Tye.Hosting.TyeHost.StopAsync() in //src/Microsoft.Tye.Hosting/TyeHost.cs:line 319 Oh dear! Operation canceled.
To Reproduce
tye run
let is start
CTRL+C
Further technical details
- Include the output of
tye --version
0.6.0-alpha.20559.2+c91e24cf224a8a74121614052885956092c5384f - If possible rerun the command with
-v debug
and include the output - The platform (Linux/macOS/Windows)
WSL2
.NET 5
azsdke2e azsdke2e2
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (4 by maintainers)
Top GitHub Comments
Same. This only happens when I add an asp.net core+react project. When I only have an api it works fine.
Confirm only when dashboard running