On Saturday, 2 September 2017 at 03:41:47 UTC, SrMordred wrote:Whats going on , and how to prevent this ?Are you using a static this anywhere?
Hm, right. I was constructing the window there. Forgot that static this will execute on all threads. Thanks! Removing the code from "static this" solved. putting "__gshared" also. But "shared" crashes the programs...