Skip to content

Commit 6216023

Browse files
committed
fix(security): timer interface
1 parent 1d77de7 commit 6216023

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/agent/security/security.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ function Security (options) {
55
this.name = 'Security'
66
this.collectorApi = options.collectorApi
77

8+
var self = this
9+
810
this.timer = {
9-
start: this.sendDependencies.bind(this),
10-
stop: function stop () { /* noop */ }
11+
start: function () { self.sendDependencies() },
12+
restart: function () { /* noop */ },
13+
end: function () { /* noop */ }
1114
}
1215
}
1316

0 commit comments

Comments
 (0)