Skip to content

Commit 327061f

Browse files
committed
Fix use of ThreadsResponse (type changed for threads container)
1 parent d518f1f commit 327061f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/PowerShellEditorServices/Services/DebugAdapter/Handlers/ThreadsHandler.cs

+2-7
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,8 @@ public Task<ThreadsResponse> Handle(ThreadsArguments request, CancellationToken
1616
{
1717
return Task.FromResult(new ThreadsResponse
1818
{
19-
// TODO: What do I do with these?
20-
Threads = new Container<OmniSharp.Extensions.DebugAdapter.Protocol.Models.Thread>(
21-
new OmniSharp.Extensions.DebugAdapter.Protocol.Models.Thread
22-
{
23-
Id = 1,
24-
Name = "Main Thread"
25-
})
19+
// TODO: This is an empty container of threads...do we need to make a thread?
20+
Threads = new Container<System.Threading.Thread>()
2621
});
2722
}
2823
}

0 commit comments

Comments
 (0)