Re: enchant framework for abicocoa

From: R. Payette <premi_at_altern.org>
Date: Mon Oct 18 2004 - 19:19:55 CEST

Le 04-10-18, à 11:32, Hubert Figuiere a écrit :

>
> R. Payette wrote:
>> I have been working on using enchant as the abiword spell checker and
>> also an enchant plugin for the Macosx spell checking facility.
>> It's working but I would need a little help from someone with more
>> experience than me on cocoa
>> When I quit abiword and enchant gets unloaded, I get a whole lot of
>> these warning just after the destructor of my applespell plugin is
>> called :
>> 2004-10-16 19:04:59.318 AbiWord[2078] appleSpell_provider_dispose
>> 2004-10-16 19:04:59.319 AbiWord[2078]
>> AppleSpellChecker::~AppleSpellChecker
>> 2004-10-16 19:04:59.360 AbiWord[2078] *** _NSAutoreleaseNoPool():
>> Object 0xf02a860 of class NSCFString autoreleased with no pool in
>> place - just leaking
>> 2004-10-16 19:04:59.360 AbiWord[2078] *** _NSAutoreleaseNoPool():
>> Object 0xf08a570 of class NSMachPort autoreleased with no pool in
>> place - just leaking
>> 2004-10-16 19:04:59.361 AbiWord[2078] *** _NSAutoreleaseNoPool():
>> Object 0x2a44910 of class NSMachPort autoreleased with no pool in
>> place - just leaking
>> 2004-10-16 19:04:59.361 AbiWord[2078] *** _NSAutoreleaseNoPool():
>> Object 0xf08e250 of class NSConnection autoreleased with no pool in
>> place - just leaking
>> 2004-10-16 19:04:59.362 AbiWord[2078] ***
>
>
> When are these object created ?
>
> Hub

I think they are created in the process on the actual checking inside
AppKit. If I do use NSStrings, I never explicitly create NSMachPorts
nor NSConnections.

anyway, here are updated files idented to your taste. They don't
produce the warnings since I added a second autoreleasepool.

Received on Mon Oct 18 19:20:12 2004

This archive was generated by hypermail 2.1.8 : Mon Oct 18 2004 - 19:20:12 CEST