On Mar 16, 2012, at 11:38 AM, Markus Spoettl wrote:

>  I take it either (a) I'm the only one here having this problem or (b) it is 
> so badly explained that no one knows that I'm talking about? If it's (b) I 
> can try again...



Never needed to do it.

Can you dispatch_async(main_queue, ^{ if (did not start momentum) cleanUp(); 
});  to insert that after the next handling of the event loop which should 
either start the momentum cycle or not (if it isn't needed)? I don't know if 
that cycle is guaranteed to start on the next event loop cycle or not. Actually 
come to thinking of it, that dispatch probably gets executed at the end of the 
current event loop run anyway.

Perhaps there's a better time to do cleanup altogether?

--
Seth Willits





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to