Does .delete() actually do anything?

Discussion about Irrlicht's Java wrapper
Post Reply
Pyritie
Posts: 120
Joined: Fri Jan 16, 2009 12:59 pm
Contact:

Does .delete() actually do anything?

Post by Pyritie »

I know that in regular irrlicht you need to use .delete() on all of your vectors and stuff to free up memory or something, but since java has a garbage collector, does calling delete() actually do anything?
Hive Workshop | deviantART

I've moved to Ogre.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I hope you don't call delete on all things in Irrlicht, as this would usually lead to memory corruption right away. But indeed, a garbage collector could make the reference counting useless.
Pyritie
Posts: 120
Joined: Fri Jan 16, 2009 12:59 pm
Contact:

Post by Pyritie »

Alrighty.
Hive Workshop | deviantART

I've moved to Ogre.
Post Reply