Reviewed and accepted this patch, thanks. :) Gregory Casamento -- Principal Consultant - OLC, Inc # GNUstep Chief Maintainer
----- Original Message ---- From: Wolfgang Lux <[EMAIL PROTECTED]> To: DISCUSS GNUstep <[email protected]> Sent: Sunday, October 19, 2008 5:54:27 PM Subject: ..., and a fix to avoid Gorm crashes Gorm crashes more or less reliably when opening and closing multiple documents. These crashes are due to dangling document pointers which are not removed from the (private) document maps maintained by various editors. Actually, GormImageEditor and GormObjectEditor contain code to remove those pointers from their respective maps, but this code has been commented out (apparently as a temporary "fix" to avoid crashes because the respective code is sometimes invoked too late, i.e., after the document has been released). Since the editors cannot retain the documents without introducing a reference cycle, the correct solution is to observe the IBWillCloseDocumentNotification notifications posted by the document. This is implemented by the attached patch. Wolfgang __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
_______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
