1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 20:10:08 +02:00

🎨 Fix threading issue

This commit is contained in:
2021-02-04 22:00:58 +01:00
parent a3fe09ed8a
commit dd41b5a1e0
2 changed files with 29 additions and 31 deletions

View File

@ -455,7 +455,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 3.0;
MARKETING_VERSION = "3.0-prerelease";
PRODUCT_BUNDLE_IDENTIFIER = com.nicoverbruggen.phpmon;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
@ -479,7 +479,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 3.0;
MARKETING_VERSION = "3.0-prerelease";
PRODUCT_BUNDLE_IDENTIFIER = com.nicoverbruggen.phpmon;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";

View File

@ -76,7 +76,6 @@ class MainMenu: NSObject, NSWindowDelegate {
Update the menu's contents, based on what's going on.
*/
public func update() {
DispatchQueue.global(qos: .userInitiated).async { [unowned self] in
// Update the menu item on the main thread
DispatchQueue.main.async {
// Create a new menu
@ -106,7 +105,6 @@ class MainMenu: NSObject, NSWindowDelegate {
self.statusItem.menu = menu
}
}
}
/**
Sets the status bar image based on a version string.