close
Skip to content

rx.disposeBag may be using wrong address  #47

@grinder81

Description

@grinder81

I think rx.disposeBag is doing some wrong memory stuff. Take a look at this post. I'm investigating now but might be helpful if you take a look as well.

ReactiveX/RxSwift#1439

Check kzaher comment:

Usually what happens is that somebody is using objc_getAssociatedObject and objc_setAssociatedObject inside rx extension in this form objc_getAssociatedObject(self, ... vs the correct objc_getAssociatedObject(base, ....

Because Swift has struct reusing, those two facts combined usually results in that kind of behavior.

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