Skip to content

Conversation

@cartermp
Copy link
Contributor

Feedback from @eiriktsarpalis and @dsyme here: #5313 (comment)

let dep3 = Random().Next() // Random is not thread-safe
let private r = Random()
let dep3 = r.Next() // Problematic if multiple threads use this
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here dep3 should be a function (right now it is just a double)

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one also LGTM @cartermp

:shipit: when ready.

@cartermp cartermp merged commit 225c3a0 into master May 18, 2018
@mairaw mairaw deleted the module-conventions-update branch May 19, 2018 01:54
@mairaw mairaw added this to the Sprint 135 (4/28/18 - 5/18/18) milestone May 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants