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

Fix logic around adding operations already in queue#417

Open
jonbrooks wants to merge 1 commit into
MKSG-MugunthKumar:masterfrom
jonbrooks:master
Open

Fix logic around adding operations already in queue#417
jonbrooks wants to merge 1 commit into
MKSG-MugunthKumar:masterfrom
jonbrooks:master

Conversation

@jonbrooks
Copy link
Copy Markdown

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