johankool / peacock-gcms

Automatically exported from code.google.com/p/peacock-gcms
0 stars 0 forks source link

Key value observers are still registered on document close #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On closing a document (in version 285):

2008-07-08 15:23:49.409 Peacock[5531:10b] An instance 0x4e089e30 of class 
PKGCMSDocument is being deallocated while key value observers are still 
registered with it. 
Observation info is being leaked, and may even become mistakenly attached to 
some other 
object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. 
Here's the 
current observation info:
<NSKeyValueObservationInfo 0x5058cba0> (
<NSKeyValueObservance 0x4f260270: Observer: 0x4f26e3e0, Key path: scoreBasis, 
Options: 
<New: NO, Old: NO, Prior: NO> Context: 0x4f229f00, Property: 0x1d0110>
<NSKeyValueObservance 0x4f2508c0: Observer: 0x4f26d750, Key path: 
chromatograms, 
Options: <New: NO, Old: NO, Prior: NO> Context: 0x4f229f00, Property: 0xe747320>
<NSKeyValueObservance 0x4f26a270: Observer: 0x4f269fc0, Key path: 
spectrumToUse, 
Options: <New: NO, Old: NO, Prior: NO> Context: 0x4f229f00, Property: 0xe73f8d0>
<NSKeyValueObservance 0x4f26af50: Observer: 0x4f25d5f0, Key path: 
libraryConfiguration, 
Options: <New: NO, Old: NO, Prior: NO> Context: 0x4f229f00, Property: 0xe73d030>
<NSKeyValueObservance 0x4f24d7d0: Observer: 0x4f25d610, Key path: 
searchTemplate, 
Options: <New: NO, Old: NO, Prior: NO> Context: 0x4f229f00, Property: 0xe73fc00>
)

Original issue reported on code.google.com by johank...@gmail.com on 8 Jul 2008 at 1:28