-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Thanks for your helpful library !
I imported and created a DBusConnection on macOS.
let conn = try DBusConnection.init(address: "/tmp/dbus-1AGCwnZNuj", shared: false);An error occured Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value.
It seems that padding1 is nil which caused this problem.
I changed internal let internalPointer: OpaquePointer? to fix it.
The situation is that when there is error in connection, the returned pointer is NULL/nil.
My Swift version is Apple Swift version 5.0.1 (swiftlang-1001.0.82.4 clang-1001.0.46.5) Target: x86_64-apple-darwin18.6.0.
Thanks in advance !
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
