diff --git a/pyglance/glance/gui_view.py b/pyglance/glance/gui_view.py index b892fb6cb2088ddcb00a806028afcdffda33e569..c39dbd92f9fc6506e9b3b95ab6a5c62f946d20e6 100644 --- a/pyglance/glance/gui_view.py +++ b/pyglance/glance/gui_view.py @@ -1105,7 +1105,10 @@ class StatisticsDisplayWindow (QWidget) : """ if self.stored is not None : - del self.stored[self.id] + pass + # FUTURE, right now if I remove the reference to this window in the parent object on MacOS I get a segfault + # so for the moment, I'm going to have to leak these windows to avoid crashing my application! + #del self.stored[self.id] event.accept() @@ -1182,7 +1185,12 @@ class RawDataDisplayWindow (QWidget) : """ if self.stored is not None : - del self.stored[self.id] + pass + # FUTURE, right now if I remove the reference to this window in the parent object on MacOS I get a segfault + # so for the moment, I'm going to have to leak these windows to avoid crashing my application! + #del self.stored[self.id] + + event.accept() if __name__=='__main__':