mono / monodevelop

MonoDevelop is a cross platform .NET IDE
http://www.monodevelop.com
2.84k stars 1.02k forks source link

[release-8.4] [Ide] Load AddinManager data on the UI thread. #9414

Closed monojenkins closed 4 years ago

monojenkins commented 4 years ago

We need to run this on the UI thread since AddinManager is not thread safe. Invoking extension changed handlers on non-UI thread can lead to weird results

Fixes VSTS #1027414 - [FATAL] SigTerm signal in Mono.Addins.dll!Mono.Addins.RuntimeAddin::LoadModule+82"

Backport of #9391.

/cc @slluis @Therzok

Therzok commented 4 years ago

@slluis ping