Gnats 4597: Crash clearing workspace with more than one open RuleSet Dialog FIX NOTES [8-26-2008, Phil] --------------- RplDlgMgr.cpp --------------- FIX in RplDlgMgr::closeAllRplSetDlgs (bool): After calling RplBaseDlg::close(), remove the dialog box from the _rplDlgs map by calling RplDlgMgr::removeRplDlg (RplObj*, RplBaseDlg*). --------------- RplBaseDlg.hpp RplBaseDlg.cpp --------------- Diagnostics enhancements: (1) An actual destructor was defined, for diagnostics. (2) RplBaseDlg's now have serial numbers: static int _rplBaseDlgCnt; const int _rplBaseDlgNum; Sample trace confirming RplDlg deletions: ------------------------------------------------------------- RplBaseDlg ctor [#1] 'RplSetDlg' 49a05d8 RplBaseDlg ctor [#2] 'RplSetDlg' 4a8f438 RplDlgMgr::closeAllRplSetDlgs close [0] (Dlg-49a05d8) (Obj-48ea920) RplDlgMgr::closeAllRplSetDlgs close [1] (Dlg-4a8f438) (Obj-49abc10) RplBaseDlg dtor [#1] 49a05d8 RplBaseDlg dtor [#2] 4a8f438 ------------------------------------------------------------- Checked into 5.1 Builds: RplDlgMgr.cpp: new revision: 1.65 -- ACTUAL FIX RplBaseDlg.cpp: new revision: 1.29 -- diagnostics RplBaseDlg.hpp: new revision: 1.19 -- diagnostics Checked into 5.0.3 Prerel: RplDlgMgr.cpp: new revision: 1.65 -- ACTUAL FIX RplBaseDlg.cpp: new revision: 1.29 -- diagnostics RplBaseDlg.hpp: new revision: 1.19 -- diagnostics ---