13 Replies
what classifies as 'isnt working'?
it basically just jumps it, my list outputResults isn't getting filled
'jumps it' sounds like its throwing an exception
nope, just runs straight through
When you place a breakpoint on this line
lock (outputResults)
does the debugger break or it's never reached?wdym 'runs through'? It can't run code and do nothing at the same time
not run but it just doesn't execute it, it continues without doing anything inside the task, not filling my list and not doing the writeline
did you debug and watch what happens?
Again, it sounds like its throwing
yep, just skipping over the task, not throwing any exception
No, if the task throws, you will only know when you get the result or await it
Since you're not showing what you do with the task... we don't know if it threw or not
it will not be 'just skipping it'
^^
oh wait
im stupid
forgot the Task.WaitAll at the end...
sync over async
<a:Shaking_Eyes:907681222619185233>
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.
Closed!