bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segfault when NSTextView is released


From: Lundberg, Johannes
Subject: Re: Segfault when NSTextView is released
Date: Tue, 18 Feb 2014 15:48:44 +0900

Hmm. It was not as easy as using assign property or __unsafe_unretained ivar.

I get segfault when calling removeFromSuperview on NSTextView even when I don't have retain on it (but the superview does).

I do not get segfault if I set the superview's property to nil (for example self.view = nil in view controller) so that it gets released and its subviews with it. I did override dealloc in a NSTextView subclass and added logging to make sure it is released.



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]