src: Fix crash on exit when deleting components (#789)

* build: add missing includes in header files

* logic: delete components in reverse to creation order
This commit is contained in:
Alexey Andronov
2019-11-25 20:13:29 +01:00
committed by Eberhard Gräther
parent 7bee830c6f
commit 1d7f466e4f
3 changed files with 14 additions and 3 deletions
+1
View File
@@ -3,6 +3,7 @@
#include <typeinfo>
#include <vector>
#include <string>
#include "TokenComponent.h"
#include "types.h"