Skip to content

Commit

Permalink
Add 1 second timeout of WaitOne call when waiting for vs debug data
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianstevens committed May 30, 2024
1 parent f69e1f3 commit 45ba241
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private async Task SendToVisualStudio()
{
if (_networkStream != null && _networkStream.CanWrite)
{
_vsDebugDataReady.WaitOne();
_vsDebugDataReady.WaitOne(1000);

while (_debuggerMessages.Count > 0)
{
Expand Down

0 comments on commit 45ba241

Please sign in to comment.