-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reset the search string when clearing the object view #1772
Conversation
CGSPrivate (and hence fancy transitions) don't play nicely with ARC. Fixes #1731
I still get the |
I can't reproduce that crash. But if it's another crash with CGSPrivate, can't we just remove it? I don't understand how the crash can actually come about, because how can
And then using |
P.S. How the hell do you put your preferences back? Replacing |
It’s in
I can see it. If the retain count goes to 0, does the system care if the apparently unused object is in the middle of running some internal method?
Yeah, that would probably work. Pretty similar to something I saw in
Yeah, 10.9 caches user defaults pretty aggressively. I had to add this to my script that backs up and restores settings. After you put the file back in place…
I’ll send you the whole script if you want it. |
Yeah I can see where you mean. The crash is still technically with the call to Also, I only see The fact that we’re having to do anything at all in
Yes please. Your extra line worked though, thanks. On 9 Chwef 2014, at 22:41, Rob McBroom notifications@github.com wrote:
|
Don’t think so.
It’s the window ( You don’t need an iVar for the number. Just a local variable in that method. (You’ll see that
If you set a breakpoint, you can see it getting called twice on launch. I know it’s being called on the same object twice and I suspect those calls are simultaneous. Some
I’m trying to figure out of those are both necessary, but what I’m more interested in is the intentional backgrounding at the end of |
Just changed |
After reviewing Apple’s docs, I’ve added another commit here. You don’t always have to deal with I’m OK will all the other changes here, so if you’re happy with the last commit, merge away. |
That looks better. I'm not sure why I did what I did. It was perhaps a typo. Should everything in Anyways, your change looks find (if |
We know it’s fine with the current code. Maybe we could do some things to make it harder for future changes to put things on different threads, but not an immediate priority IMO. |
Reset the search string when clearing the object view
Fixes #1760
Not much to it really.