Shouqun / node-dbus

dbus module for node
MIT License
150 stars 70 forks source link

dispose dbus object #208

Open miladghasemid opened 4 years ago

miladghasemid commented 4 years ago

I have a code in which dbus objects are dynamically added. but in some cases i want to remove a dbus method in runtime.

miladghasemid commented 4 years ago

i found the solution in one of your test cases. service-dynamic.js

service.removeObject(ObjToBeRemoved);
delete ObjToBeRemoved;

anyway i think it might be good to add the example to examples.