Skip to content

Commit aff74f6

Browse files
author
Robert Jackson
authored
Merge pull request ember-fastboot#895 from gabrielcsapo/gabrielcsapo/empty-cache-stop-leak
2 parents b76eb3e + c85a958 commit aff74f6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
'use strict';
22
/* globals sourceMapSupport */
33

4-
Error.prepareStackTrace = function prepareStackTrace(error, stack) {
5-
return error + stack.map(frame => '\n at ' + sourceMapSupport.wrapCallSite(frame)).join('');
6-
};
74
Error.stackTraceLimit = Infinity;
85

96
sourceMapSupport.install({
107
environment: 'node',
8+
emptyCacheBetweenOperations: true,
119
handleUncaughtExceptions: false,
1210
});

0 commit comments

Comments
 (0)