pegkit icon indicating copy to clipboard operation
pegkit copied to clipboard

Don't set self.string or self.stream = nil in dealloc if they are already nil.

Open ewanmellor opened this issue 9 years ago • 0 comments

There are custom setters in PKReader that assert that the counterpart field is nil. This means that we're guaranteed to assert if PKTokenizer.dealloc is ever called because one or other of these fields will be set during init.

I don't understand why I'm the only one who's hitting this. Is no-one else freeing their parsers?

ewanmellor avatar Jun 15 '15 02:06 ewanmellor