The following commit has been merged in the master branch:
commit 63be953518b47d845514511df89e8e4bcdf1719d
Author: Andrei Zavada <[email protected]>
Date:   Sun Feb 3 12:01:46 2013 +0200

    accurate ED destroy codepath wrt closing with some SF windows still open

diff --git a/src/ui/mw/mw.cc b/src/ui/mw/mw.cc
index b9e1ef0..a586423 100644
--- a/src/ui/mw/mw.cc
+++ b/src/ui/mw/mw.cc
@@ -390,6 +390,11 @@ aghui::SExpDesignUI::
 
        save_settings();
        save_artifact_detection_profiles();
+       auto sielle = open_scoring_facilities;
+       // let SF dtor reach back and erase its own mention from 
open_scoring_facilities
+       for ( auto& SF : sielle )
+               delete SF;
+
        delete ED;
 }
 

-- 
Sleep experiment manager

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to