Fixed issue #193 #194

Merged
merged 1 commit into from Jul 19, 2012

Projects

None yet

2 participants

Resolve of object registered with ReuseScope Container/Hiearchy was not
Thread Safe prior to this fix.

Tried to accomplish a minimal lock strategy for Reuse Container and
Hiearchy where lock is only taken for the very first calls to Resolve.

The private services dictionary was also updated in a non-thread safe
manner which was also fixed by a snapshot copy created on resolve-calls
and invalidated when the original dictionary is updated.

Mikael Waltersson Fixed issue #193
Resolve of object registered with ReuseScope Container/Hiearchy was not
Thread Safe prior to this fix.

Tried to accomplish a minimal lock strategy for Reuse Container and
Hiearchy where lock is only taken for the very first calls to Resolve.

The private services dictionary was also updated in a non-thread safe
manner which was also fixed by a snapshot copy created on resolve-calls
and invalidated when the original dictionary is updated.
d93986b
@mythz mythz merged commit 01d07ba into ServiceStack:master Jul 19, 2012
Owner
mythz commented Jul 19, 2012

Awesome, thx for this and Congratz :)
99f32d2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment