Skip to content

Unsubscribe not working #2

Description

@jonataszito

Hello, I can't unsubscribe in Angular 12 and rx-stomp 1.2.0, even putting it in onDesctroy according to your example:

ngOnDestroy() {

 this.topicSubscription.unsubscribe();
 console.log('ngOnDestroy')

}

it only unsubscribes when I refresh the page... thank you in advance for your attention.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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