]> git.tdb.fi Git - libs/gltk.git/commit
Use RAII to ensure consistent PartCache state
authorMikko Rasa <tdb@tdb.fi>
Tue, 17 Sep 2019 12:42:19 +0000 (15:42 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 17 Sep 2019 12:42:19 +0000 (15:42 +0300)
commit01d30637b393b2f8a932b1d943076db580b1e951
treed7a741cbc5a84c6ef3e87067c3a7dfb271889b37
parent8bc33895d1bb04adcefee405746ef3c21d99a66d
Use RAII to ensure consistent PartCache state

end_rebuild needs to be called even if an exception is thrown during
rebuilding.
source/partcache.h
source/widget.cpp