oxyplot-avalonia icon indicating copy to clipboard operation
oxyplot-avalonia copied to clipboard

Fix off-thread InvalidatePlot calls (47)

Open VisualMelon opened this issue 3 years ago • 0 comments
trafficstars

Fixes various threading issues discovered while investigating #47

  • BeginInvoke was backwards
  • Not locking when updating/rendering
  • Not ensuring Update is called before Render if invalidated (this was the issue causing the exact behaviour observed in #47)

Been a while since I wrote this sort of stuff, so could really do with a second pair of eyes.

VisualMelon avatar Aug 13 '22 13:08 VisualMelon