Hi, imagine a class which holds some state. This state should be unique for every thread. So I register the component with LifeStylePerThread. This state is set only once when the object is created.
The problem is that some threads are reused and when I call Task.Factory.StartNew(...) I get an existing thread with already initialized state. I tried to force creating a new thread every time a new Task is started but it is impossible. Is there any workaround this problem? -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-users/-/tFMByj4aRWwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
