Commit cd2518b6 authored by martin hou's avatar martin hou

fix: self变量声明

parent 5773def8
......@@ -186,6 +186,7 @@ function Jensen(log, conn) {
this.addWakeupListener = function(listener) {
this.onwakeup = listener;
const self = this;
Logger.info('jensen', 'hibernate', 'setup');
if (self.sleepChecker) window.clearInterval(self.sleepChecker);
self.sleepChecker = setInterval(function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment