Commit 69074dc5 authored by 曾思程's avatar 曾思程

解决上次修改后空指针问题

parent 3f4debfa
...@@ -116,7 +116,7 @@ function Jensen(log) { ...@@ -116,7 +116,7 @@ function Jensen(log) {
ready = true; ready = true;
Logger.debug('jensen', 'setup', 'setup webusb connection'); Logger.debug('jensen', 'setup', 'setup webusb connection');
try { try {
if (!disableOnConnect && !this.isStopConnectionCheck) self.onconnect?.(); if (!disableOnConnect && !self.isStopConnectionCheck) self.onconnect?.();
} catch (err) { } catch (err) {
Logger.error('jensen', 'setup', err); Logger.error('jensen', 'setup', err);
} }
......
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