]> git.tdb.fi Git - libs/gl.git/commit
Clear manager in destructors of individual resource classes
authorMikko Rasa <tdb@tdb.fi>
Wed, 18 Nov 2015 19:04:02 +0000 (21:04 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 18 Nov 2015 19:04:02 +0000 (21:04 +0200)
commit8e51e1e7089d79359ec584bb4292b6cb2ecfd495
tree01e6f966ed89c369f235d7ec3b01faafa953c07b
parentbbd21944fae06f134625b2f5595c3aab36c3aa9e
Clear manager in destructors of individual resource classes

If the resource is destroyed while being loaded asynchronously, loading
has to be stopped before the derived class is destroyed.  The Resource
destructor is too late for that.
source/mesh.cpp
source/texture2d.cpp
source/texture2d.h