mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Fix cpu spike on osx.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7836 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -45,6 +45,12 @@ public final class AppleUtils {
|
||||
NSApplication.sharedApplication().setApplicationIconImage(defaultImage);
|
||||
usingDefaultIcon = true;
|
||||
}
|
||||
try {
|
||||
Thread.sleep(100);
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
Log.error(e);
|
||||
}
|
||||
}
|
||||
else {
|
||||
final NSImage image = getImageForMessageCountOn();
|
||||
|
||||
Reference in New Issue
Block a user