Skip to content

Raven.uninstall() does not restore setTimeout/setInterval #228

Description

@hughes

Using Raven 1.1.15:

  1. Load Raven
  2. Raven.uninstall()
  3. setTimeout(function () { throw('oh no'); }, 0);

Expected: Native browser error handling
Actual: Error: Raven has not been configured thrown in Raven-wrapped function

Looks like the functions setInterval and setTimeout are overridden by extendToAsynchronousCallbacks but never properly restored.

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