diff options
author | Max Kellermann <max@musicpd.org> | 2019-02-05 22:52:09 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-02-05 22:53:02 +0100 |
commit | 98c47d9d368328da754c8b4e0ecd840b11be1f11 (patch) | |
tree | 545b2a48a6c2a4dd114ddb08a205e886e8b11066 /src | |
parent | 6c67408944d86e756bbce9e993f7b4847cb11caf (diff) |
Instance: remove FinishShutdownPartitions()
The list of partitions is cleared automatically.
Diffstat (limited to 'src')
-rw-r--r-- | src/Instance.hxx | 1 | ||||
-rw-r--r-- | src/Main.cxx | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx index e89420bed..48e5a2f79 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -147,7 +147,6 @@ struct Instance final Partition *FindPartition(const char *name) noexcept; void BeginShutdownPartitions() noexcept; - void FinishShutdownPartitions() noexcept; #ifdef ENABLE_DATABASE /** diff --git a/src/Main.cxx b/src/Main.cxx index f22db30b3..b25586246 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -381,12 +381,6 @@ Instance::BeginShutdownPartitions() noexcept } } -inline void -Instance::FinishShutdownPartitions() noexcept -{ - partitions.clear(); -} - void Instance::OnIdle(unsigned flags) { @@ -667,8 +661,6 @@ mpd_main_after_fork(const ConfigData &raw_config, const Config &config) DeinitFS(); - instance->FinishShutdownPartitions(); - return EXIT_SUCCESS; } |