]> git.tdb.fi Git - libs/datafile.git/commit
Create writers dynamically and delete them before deleting output
authorMikko Rasa <tdb@tdb.fi>
Thu, 27 Sep 2012 22:24:13 +0000 (01:24 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 27 Sep 2012 22:24:13 +0000 (01:24 +0300)
commit06fe7b7a0c0af0bab3df79cebe87f8ff93b31b00
tree7cb32e2e6aad173f58e43d5746850c1c51a94853
parentbdd957e58dc6fdaa3cac1202daf0d16d41491278
Create writers dynamically and delete them before deleting output

This ensures that the IO objects are destroyed in the correct order, and
filters won't try to access deleted objects.
tool/tool.cpp
tool/tool.h