davmac314 / dinit

Service monitoring / "init" system
Apache License 2.0
583 stars 45 forks source link

closehandle does not enable service to be unloaded #261

Closed q66 closed 9 months ago

q66 commented 9 months ago

If i'm reading this correctly, it is necessary to also remove the listener when closing the last handle to a service, or the service is still stuck in place (as has_lone_ref will always fail)

davmac314 commented 9 months ago

Ugh, github auto-closing issues when a commit is made is not my favourite thing. Anyway, you're right, and the commit ref'd above should address it.

q66 commented 9 months ago

works fine, thanks