Open ryansturmer opened 9 years ago
I would start by checking if there is a reverce for the following two parts: https://github.com/Doodle3D/connman-api/blob/master/lib/connman.js#L39 https://github.com/Doodle3D/connman-api/blob/master/lib/agent.js#L30 Execute that and see if it still chrashes.
The examples of the DBus package might be helpful: https://github.com/Shouqun/node-dbus/tree/master/examples
I dug around a bit, and haven't found a way to "unregister" - still learning the ins and outs of dbus...
For various reasons, I have to shut down the connman service while my application is running, and it would be valuable for me to be able to truly destroy my connman-api instance such that I could create another one when the service restarts. Attempting to do so now results in a dbus crash.