Skip to content

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

Closed
@hughes

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.

Metadata

Metadata

Assignees

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