Re: beginSheet simple question.
Re: beginSheet simple question.
- Subject: Re: beginSheet simple question.
- From: Scott Andrew <email@hidden>
- Date: Thu, 25 Aug 2005 09:58:21 -0700
As usual joar thanks.
On Aug 25, 2005, at 8:28 AM, j o a r wrote:
On 25 aug 2005, at 17.22, Scott Andrew wrote:
loginController = [[PBLoginPanelController alloc]
initWithServer: server];
[loginController retain];
This is almost certainly a memory management error, and a memory
leak waiting to happen...
When you allocate a new object it already have a net positive
retain count, no need to retain it more.
Does all execution stop at beginSheet?
No. Contrary to an application modal dialog, execution doesn't stop
for a document modal dialog.
j o a r
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden