heyx3 / Bplus.jl

A modern OpenGL 4.6 rendering framework, written in Julia.
Other
70 stars 3 forks source link

All `GL.AbstractResource` types should catch any exceptions in their constructor, and destroy their allocated OpenGL handle before rethrowing #34

Open heyx3 opened 1 year ago

heyx3 commented 1 year ago

Technically there's a memory leak any time a Resource constructor throws after it's already created its OpenGL handle.