Depending on the destruction order of static RTTI instances and SpineExtension instances, we'd call SpineExtension::beforeFree in ~RTTI, when SpineExtension has already been destructed.
@@ -30,10 +30,10 @@
#ifndef Spine_RTTI_h
#define Spine_RTTI_h
-#include <spine/SpineObject.h>
+#include <spine/dll.h>
namespace spine {
- class SP_API RTTI : public SpineObject {
+ class SP_API RTTI {
public:
explicit RTTI(const char *className);