Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

GroupOperation Finished not called when adding operation #87

@agiguere

Description

@agiguere

I notice that in a GroupOperation, if you generate a new operation in the method

operationDidFinish(_ operation: Foundation.Operation, withErrors errors: [NSError])

using addOperation

the finished(_ errors: [NSError]) is not called

example: GroupOperation that contains OperationA & OperationB

when OperationB finish, you want to generate OperationC on a particular condition

OperationC will be execute successfully and the block observer will be called correctly, however the GroupOperation won't called it's finish method

Is that a bug ?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions