Hi! I started using CXX interop in my project with Swift 5.7 (Xcode 14.2). My current problem is destructors! I catch same behavior in Xcode 14.3 Beta 2 and Swift 5.8.
I created a b2World instance from box2d and when I change properties like gravity, physic bodies or smth else, I receive a destructor event from C++. Looks like each update of b2World create a new instance or it's a bug. Can you help me with that?
box2d lib I have used: