diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-12-11 18:58:50 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-12-11 18:58:50 -0500 |
commit | 7d8015c0b12c93a3f5c444d3f3790544e722890e (patch) | |
tree | 10b526f177af9948cb9298f831fae92ecda8ddd4 /lib/sisu/develop/xml_dom.rb | |
parent | c&d: html, output by filename, filenames, fix (diff) |
d: persist, address garbage collection issue, bug, fix
* related to code related changes (re: "persistence") in
recent reorganization of txt, html, epub, xmls etc.
Diffstat (limited to 'lib/sisu/develop/xml_dom.rb')
-rw-r--r-- | lib/sisu/develop/xml_dom.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/sisu/develop/xml_dom.rb b/lib/sisu/develop/xml_dom.rb index b3d3adde..199faed5 100644 --- a/lib/sisu/develop/xml_dom.rb +++ b/lib/sisu/develop/xml_dom.rb @@ -167,10 +167,14 @@ module SiSU_XML_DOM @per=SiSU_XML_Persist::Persist.new end def songsheet - pre - @data=markup(@ao_arr) - post - publish + begin + pre + @data=markup(@ao_arr) + post + publish + ensure + SiSU_XML_Persist::Persist.new.persist_init + end end protected def xml_markup(dob='') |