What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Whats the object lock thingy called for synchonization??

Vastico

New Member
Joined
Jul 28, 2011
Messages
424
Reaction score
10
Whats the object lock thingy called for synchonization??

Getting this error:
Code:
[13:31:04:576] System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   at Styx.Plugins.PluginWrapper.Pulse()

I can't remember the lock to sync it, anyone got any ideas?
 
Whats the object lock thingy called for synchonization??

Getting this error:
Code:
[13:31:04:576] System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   at Styx.Plugins.PluginWrapper.Pulse()

I can't remember the lock to sync it, anyone got any ideas?

Mutex?
 
What exactly are you trying to modify?

And no, mutex isn't what he's looking for.
 
Doesn't matter anymore I corrected problem, it wasn't synchronization I was enumerating through a list and checking then removing it while in the enumeration.
 
Back
Top