Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Fix logic around adding operations already in queue #417

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonbrooks
Copy link

If an operation was enqueued that was already in the queue, there was logic in place to detect if it was already in the queue and add any new handlers to the existing one, but then the operation could be added to the queue anyway. This could trigger an exception in NSOperationQueue.

…d time would attempt to add it a second time to the NSOperationQueue, and throw an exception.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant