On Thursday, 10 January 2019 at 23:04:37 UTC, Steven
Schveighoffer wrote:
On 1/10/19 5:12 PM, RazvanN wrote:
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.
Hm... is this a sign of how things will be once the (necessary
IMO) change to destroying globals is deployed?
-Steve
At least for this specific situation, yes.