Skip to content
Snippets Groups Projects
Commit ffef817e authored by Gregor Longariva's avatar Gregor Longariva :speech_balloon:
Browse files

Merge branch '106-feature-request-applescript-support' into 'dev'

:bug: weak self reference changed to strong

Closes #106

See merge request faumac/networkShareMounter!112
parents 6068e616 93276673
No related branches found
Tags beta-3.0.4-rc4
No related merge requests found
......@@ -417,18 +417,18 @@ class AppDelegate: NSObject, NSApplicationDelegate {
mountSignalSource = DispatchSource.makeSignalSource(signal: mountSignal, queue: .main)
// Set up event handler for unmount signal
unmountSignalSource?.setEventHandler { [weak self] in
unmountSignalSource?.setEventHandler { [self] in
Logger.app.debug("🚦Received unmount signal.")
Task {
await self?.mounter?.unmountAllMountedShares(userTriggered: true)
await self.mounter?.unmountAllMountedShares(userTriggered: true)
}
}
// Set up event handler for mount signal
mountSignalSource?.setEventHandler { [weak self] in
mountSignalSource?.setEventHandler { [self] in
Logger.app.debug("🚦Received mount signal.")
Task {
await self?.mounter?.mountAllShares()
await self.mounter?.mountAllShares()
}
}
......
......@@ -770,7 +770,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 168;
CURRENT_PROJECT_VERSION = 169;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = C8F68RFW4L;
GCC_C_LANGUAGE_STANDARD = gnu11;
......@@ -802,7 +802,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 168;
CURRENT_PROJECT_VERSION = 169;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = C8F68RFW4L;
GCC_C_LANGUAGE_STANDARD = gnu11;
......@@ -830,7 +830,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 168;
CURRENT_PROJECT_VERSION = 169;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 73H7Y3TZRJ;
GCC_C_LANGUAGE_STANDARD = gnu11;
......@@ -862,7 +862,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 168;
CURRENT_PROJECT_VERSION = 169;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 73H7Y3TZRJ;
GCC_C_LANGUAGE_STANDARD = gnu11;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment