Skip to content

Commit 6794a62

Browse files
committed
exit handler fix
1 parent 045da98 commit 6794a62

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/agent.js

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ class Agent {
8888

8989

9090
exitHandler() {
91+
let self = this;
92+
9193
if (!self.agentStarted || self.agentDestroyed) {
9294
return;
9395
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stackimpact",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "StackImpact Node.js Agent",
55
"author": "StackImpact <devops@stackimpact.com>",
66
"keywords": [

0 commit comments

Comments
 (0)