Without any changes in my code, except for building against Qt 4.5, I get the following warning message when the application starts:
*** _NSAutoreleaseNoPool(): Object 0x50a1b0 of class NSCFNumber autoreleased with no pool in place - just leaking
I do not use Objective-C in my code, but Qt 4.5 uses the new Cocoa back end instead of Carbon.
I am not sure how to address and correct this error message. Does anyone have a key?
, , NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; [pool release]; . _NSAutoreleaseNoPool , , . , -autorelease Cocoa, autorelease Qt-, .
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
[pool release];
_NSAutoreleaseNoPool
-autorelease
, Qt-, , , , , Qt/ Cocoa , , , .
Source: https://habr.com/ru/post/1739404/More articles:need help with jquery selectors - javascriptFile Existence Problem in C - cGeneral web programming / designing Question :? - javascriptUsing Apple autorelease pools without Objective-C - c ++How to protect my SQL Server database from unauthorized access, modification and distribution? - sql-serverIs there a security issue with using javascript to manage cookies? - javascriptConvert memory size (readable) to actual number (bytes) in Perl - linuxHTML encodes UTF-8 string, is distorted in latin1 - ruby-on-railshow to check if windows or debian is in c ++? - c ++What is an effective hidden secure template system for PHP? - phpAll Articles