mono / xwt

A cross-platform UI toolkit for creating desktop applications with .NET and Mono
MIT License
1.37k stars 241 forks source link

[Mac] Remove ThreadStatic from NSApplicationInitializer.initialized #1011

Closed sevoku closed 5 years ago

sevoku commented 5 years ago

This allowed NSApplication.Init () to be called several times from different threads, causing random "System.InvalidOperationException: Init has already been invoked; it can only be invoked once" exceptions.

Partially reverts 36b5c71a817b6e9c7874f2c0c2de5509c3db2cd0

Therzok commented 5 years ago

cc @abock