Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rubber-duck
Copy link
Contributor

I ported parts of mono TPL implementation to Silverlight to get Task type and I found these bugs.
The null condition bugs happens when using TaskCompletionSource - Wait() never gets called for task completion source task since function is null so it will return null. Constructors will wrap nulls with lambdas so function member will not be null and lambda will try to call null reference.
(btw. sorry for the last two commits i didn't realize code was using tabs :) )

@migueldeicaza
Copy link
Contributor

Applied these patches to 2-10 and master. Jeremie, are you OK with them?

@garuma
Copy link
Contributor

garuma commented Mar 21, 2011

Heya, just as post-merge advice, please run the test suite before submitting your pull request (in this case on Task) cause one of your commit introduced a regression

http://www.mono-project.com/Test_Suite

richard-fine referenced this pull request in richard-fine/mono Aug 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants