On Thursday, 10 January 2019 at 15:04:25 UTC, Steven Schveighoffer wrote:
On 1/8/19 7:54 AM, RazvanN wrote:
[...]

That is a thread-local static destructor. Are any shared static destructors accessing the array?

No, there aren't. Indeed, the problem is as Johan as said: the loadedDSOs should not be wrapped in an array with a destructor because it is manually destroyed.
You might be able to determine this by printf debugging between calling unshared and shared destructors.

-Steve

Reply via email to