[med-svn] [SCM] aghermann branch, master, updated. f0d4c0fd35bf09e7dff56ddb9a2d798ae916c2ef

Andrei Zavada johnhommer at gmail.com
Sun Feb 3 12:53:10 UTC 2013


The following commit has been merged in the master branch:
commit 63be953518b47d845514511df89e8e4bcdf1719d
Author: Andrei Zavada <johnhommer at gmail.com>
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



More information about the debian-med-commit mailing list