Skip to content

Change stop() API #7738

Description

@billyvg

Current Status

stop() stops recording and removes event handlers, but it does not kill the current session (i.e. it does not clear session storage). We already have a pause() function to pause rrweb recording, there’s no reason not to have stop() also remove the current session.

Proposal

  • Flush pending recording events
  • Remove/destroy current session

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions