volca02 / openDarkEngine

Rewrite of the Dark Engine by Looking Glass
GNU General Public License v2.0
150 stars 18 forks source link

Using RAII guard objects to release resources #14

Closed volca02 closed 6 years ago

volca02 commented 10 years ago

For example allocations are often deleted by hand, which is bad when exceptions fly around. Guard objects are simple solution for this.

volca02 commented 6 years ago

Closing this as it's part of refactoring list in #23 now.