monto-editor / broker

BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Deregistering of Dependencies from Dependencygraph #2

Closed wpmp closed 9 years ago

wpmp commented 9 years ago

To provide correctly working dynamic registration and deregistration of services with the broker, a deregister function in the dependencygraph is required. Could you please have a look and add such a function?

Best Regards Wulf

seba-- commented 9 years ago

It is not clear what feature you require. Can you provide further details and a minimal example that explains the desired behavior?

wpmp commented 9 years ago

The dependencygraph registers services by their product/language combination and their dependencies. Therefore it provides a function named "register", which is called when a new service registers itself to the broker. When a registered service now deregisters itself, the service and its dependencies will remain in the dependencygraph due to the lack of a "deregister" function which should be capable of removing it from the graph. I hope this clarifies the problem.

seba-- commented 9 years ago

@svenkeidel Can you take a look at this issue?

svenkeidel commented 9 years ago

I'm on it.