Skip to content

Observer reference is not released on unsubscribe #1292

Closed
@fdoyle

Description

@fdoyle

With the following code
http://pastebin.com/VUZ5aApe
and using the latest version of rxjava (0.18.4),

rotations should result in the activity calling unsubscribe on my subscription.

This should release the reference to my observer, which should in turn release the reference to my activity.

However, the memory tests I've done show that as I rotate the phone, my activity count keeps going up, which means the reference to my activity is not being released.

(let me know if the pastebin expires for some reason, I'll get something back up)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions