Skip to content

ZSContextWatcher sending self to delegate #4

@dillan

Description

@dillan

There appears to be an error in contextUpdated: of ZSContextWatcher. At line 104 in ZSContextWatcher.m it currently reads:

[[self delegate] performSelectorOnMainThread:[self action] withObject:self waitUntilDone:YES];

Just above those lines a dictionary is created containing all of the changes the watcher has found. If I understand correctly it should be returning that change dictionary, and not the watcher. So the correction would be:

[[self delegate] performSelectorOnMainThread:[self action] withObject:results waitUntilDone:YES];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions