when using measure line, app crashed- exception was from ScopeRenderer complaining that a referenced collection was modified while repainting. Probably trying to draw things repeatedly when the Database updates them (esp. removing old source data).
Fix: either lock the relevant collections while drawing or make them thread-safe with the relevant collections (i.e. ConcurrentDictionary or SynchronizedCollection)
when using measure line, app crashed- exception was from ScopeRenderer complaining that a referenced collection was modified while repainting. Probably trying to draw things repeatedly when the Database updates them (esp. removing old source data).
Fix: either lock the relevant collections while drawing or make them thread-safe with the relevant collections (i.e. ConcurrentDictionary or SynchronizedCollection)