Hello, i'm not sure but i have a strange bug when i reach the end of my program using entityx.
current context :
The systems are all separate in different DLL, i load them with the function systems.add(shared_ptr) :

the main game loop :

creation of entity and assignement of a Components who represents a window :

update of the Window System :

and this is what happened when i click on the cross of the SFML Window :

This bug dont seem's to appear on Linux, or Window, only on my macOs, (i tried on Linux this works)
Sorry for my english.
Best regards.