Skip to content

[Bug] temporal-sdk-dotnet process doesn't close if test is stopped during debug on Visual Studio 2022 #88

@ltlombardi

Description

@ltlombardi

What are you really trying to do?

Debugging unit test.

Describe the bug

During debug, If I stop before debug finishes on Visual Studio, temporal-sdk-dotnet-1.3.1.0.exe never closes / stops running.
In the video I show normal operation, that temporal-sdk-dotnet process starts and closes, if test finished normally.
On the second part of the video, I do it again, but stop the test execution before it finishes and temporal-sdk-dotnet never goes away.
If I run another test, It creates a new instance and it starts to acumulate multiple orphaned instances.
image

20241211_150907.mp4

Minimal Reproduction

Demo project to run
TemporalDemo - Copy.zip

Environment/Versions

  • OS and processor: Windows 11, x86
  • Temporal Version: temporal-sdk-dotnet-1.3.1.0
  • Are you using Docker or Kubernetes or building Temporal from source? None. Unit tests doesn't use those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions