At least on Mac OS X the ExtApp crashes on closing if the statistics is open. It is not easy to reproduce this bug exactly
Description
Description
Event Timeline
Comment Actions
First analysis shows:
Can be reproduced by loading more than one image (in our case three), selecting all of them at the same time for image statistics and the closing the application.
Comment Actions
The reason seems to be, that in case of illegal selection the observer for the selected image was not deleted, but the selected image itself was.
This resulted in a remaining observer.
Comment Actions
[eea71d]: Merge branch 'bug-12205-fix-crash-by-removing-observer'
Merged commits:
2012-07-04 15:38:26 Caspar Goch [faf8a0]
Added remove observer for illegal selection
Previously when an illegal node selection was processed the selected image was set to NULL, but the corresponding observer was not removed.
Added a new function, which removes all observers and sets the members to NULL.