Cant hurt.

Just make sure things are unlocked in a FINALLY block

Dov


On 6/28/09 7:19 AM, "Gennady Kushnir" <[email protected]> wrote:

> Should I also lock editing context if I do not make any changes in it,
> just reading?
> 
> 2009/6/28 Dov Rosenberg <[email protected]>:
>> If you use an editingcontext in a thread you should manually lock/unlock it,
>> otherwise you can see these kinds of errors.
>> 
>> Dov
>> 
>> 
>> On 6/27/09 7:02 AM, "Gennady Kushnir" <[email protected]> wrote:
>> 
>>> Hello list.
>>> My applications console log displays this error (multiple times) when
>>> performing a scheduled task (not in RR loop)
>>> [2009-6-27 14:53:30 MSD] <Finalizer> Exception occurred while
>>> finalizing EOEditingContext #13941350 :null
>>> 
>>> In fact everything works fine, but I think this error should be dealt
>>> with though
>>> What does this mean and how can I get additional details for debugging
>>> this problem - this console message is the only output I get on
>>> this...
>>>  _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/drosenberg%40inquira.c
>>> om
>>> 
>>> This email sent to [email protected]
>> 
>> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to