How to correctly exit/close classes?

I'm writing a dll and I think I'm doing everything correctly.
I'm placing every object in a vector to later delete every object in the vector with a loop and after that clear the vector. Seems to work fine, but sometimes I see some dynamic float values still running and messing up my whole code.

Any good tips on what to delete or remove are welcome.
but sometimes I see some dynamic float values still running and messing up my whole code.

Please provide an example of how you're trying to access these float values. Your description doesn't give me much clarity on how you're using this vector and its contents in your dll.
Topic archived. No new replies allowed.