Skip to content

Commit

Permalink
加个同步
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Nov 2, 2024
1 parent 3820778 commit a6d173c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public void createNotification(Level level, String title, String description) {
}
}

private void refreshTrayIcon() {
private synchronized void refreshTrayIcon() {
TrayIcon icon = mainWindow.getTrayIcon();
if (icon != null) {
try {
Expand Down

0 comments on commit a6d173c

Please sign in to comment.