Skip to content

Commit a67da83

Browse files
committed
restartMonitorSilently 실패 시 다시 시도
잠자기 상태에서 깨어난 후 키보드 입력이 되지 않을 수 있는 문제 대응 (#23)
1 parent 26e4271 commit a67da83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SokIM/AppDelegate.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
120120
try inputMonitor.start()
121121
} catch {
122122
warning("\(error)")
123+
self.perform(#selector(restartMonitorSilently), with: aNotification, afterDelay: 1)
123124
}
124125
}
125126

0 commit comments

Comments
 (0)