|
From: | Richard Frith-Macdonald |
Subject: | Re: NSUserDefaults locking bug? |
Date: | Fri, 26 Jan 2007 13:49:41 +0000 |
On 26 Jan 2007, at 13:46, Wim Oudshoorn wrote:
I assume that the point I raised below is potientally a very annoying bug.Could someone who knows this code better check if that is the case?
I fixed that one yesterday (and backported the fix to the stable branch).
Thanks.
Wim Oudshoorn <woudshoo@xs4all.nl> writes:2 - the check if ([self lockDefaultsFile: &wasLocked] == NO) { return NO; } in NSUserDefaults.m around line 1610 returns NO, and forgets to unlock _lock. This will later lead to problems with locking. However still your stacktrace does not seem consistent with this option. But still this warrants some investigation! (I think this is a bug.)
[Prev in Thread] | Current Thread | [Next in Thread] |