Remove unneeded release
authorDavin McCall <davmac@davmac.org>
Sun, 1 Dec 2019 05:07:44 +0000 (15:07 +1000)
committerDavin McCall <davmac@davmac.org>
Sun, 1 Dec 2019 05:07:44 +0000 (15:07 +1000)
src/service.cc

index b0a795809b55cd7e3c9cc5a27da363e236ce9dde..16cb39455eccccbb0abc1337ecebf095d4ba153e 100644 (file)
@@ -559,11 +559,6 @@ void service_record::do_stop() noexcept
 
     if (pinned_started) return;
 
-    if (required_by == 0) {
-        prop_release = true;
-        services->add_prop_queue(this);
-    }
-
     service_state = service_state_t::STOPPING;
     waiting_for_deps = true;
     if (all_deps_stopped) {