streams: Remove registered systemd stream service

Fixes: 59db98fb94 ("stream: Add basic stream service for systemd sockets")
This commit is contained in:
Tobias Brunner 2017-10-18 09:25:15 +02:00
parent 23e76d250f
commit d889f20ca1
1 changed files with 3 additions and 0 deletions

View File

@ -209,6 +209,9 @@ METHOD(stream_manager_t, destroy, void,
remove_stream(this, stream_create_unix);
remove_service(this, stream_service_create_unix);
#endif
#ifdef USE_SYSTEMD
remove_service(this, stream_service_create_systemd);
#endif
this->streams->destroy(this->streams);
this->services->destroy(this->services);