fix: typo

This commit is contained in:
ZiuChen
2022-09-20 18:22:43 +08:00
parent f6732f0147
commit 4dd5888a7f
2 changed files with 3 additions and 3 deletions

View File

@@ -221,8 +221,8 @@ export default function initPlugin() {
utools.outPlugin()
}
listener
.on('close', callBack())
.on('exit', callBack())
.on('close', callBack)
.on('exit', callBack)
.on('error', (error) => {
utools.showNotification('剪贴板监听出错' + error)
utools.outPlugin()