From d4d4d6217fe95f3a92c1891f9949abeaa95f146f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 18 Jan 2014 12:48:28 +0100 Subject: db/upnp: don't use LazyDatabase Now that MPD forks early, this workaround is obsolete. --- src/db/UpnpDatabasePlugin.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/db/UpnpDatabasePlugin.cxx') diff --git a/src/db/UpnpDatabasePlugin.cxx b/src/db/UpnpDatabasePlugin.cxx index e48b3cdd2..0e3a4dd8e 100644 --- a/src/db/UpnpDatabasePlugin.cxx +++ b/src/db/UpnpDatabasePlugin.cxx @@ -26,7 +26,6 @@ #include "upnp/Directory.hxx" #include "upnp/Tags.hxx" #include "upnp/Util.hxx" -#include "LazyDatabase.hxx" #include "DatabasePlugin.hxx" #include "DatabaseSelection.hxx" #include "DatabaseError.hxx" @@ -147,7 +146,7 @@ UpnpDatabase::Create(gcc_unused EventLoop &loop, /* libupnp loses its ability to receive multicast messages apparently due to daemonization; using the LazyDatabase wrapper works around this problem */ - return new LazyDatabase(db); + return db; } bool -- cgit v1.2.3