Implement init/deinit of inotify system
Use RAII to handle inotify resource lifetime, i.e. initialize with actor creation and deinitialize with actor deletion.
This commit is contained in:
@@ -22,9 +22,11 @@ let package = Package(
|
||||
.package(url: "https://github.com/tuist/Noora", from: "0.55.1")
|
||||
],
|
||||
targets: [
|
||||
.systemLibrary(name: "CInotify"),
|
||||
.target(
|
||||
name: "Inotify",
|
||||
dependencies: [
|
||||
"CInotify",
|
||||
.product(name: "Logging", package: "swift-log"),
|
||||
]
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user