CollectInvalidRect( ) crashes with AGain sample Plugin

Hi Will,

Maybe this is in some way related to the following “issue”: Debug assertion in CFrame::CollectInvalidRects::addRect() - VSTGUI - Steinberg Forums ?

It happened when my host implementation called into invalid() from any other thread than the UI thread (a design restriction that goes for all VSTGUI calls except setDirty() afaik).

Best,
Ray