Commit 933a1a41 authored by Max Kellermann's avatar Max Kellermann

lib/upnp/Discovery: use InjectEvent instead of DeferEvent

Fixes regression by commit 774b4313
parent 1ff86267
...@@ -2,6 +2,8 @@ ver 0.23.5 (not yet released) ...@@ -2,6 +2,8 @@ ver 0.23.5 (not yet released)
* protocol * protocol
- support relative offsets for "searchadd" - support relative offsets for "searchadd"
- fix "searchaddpl" bug (bogus error "Bad position") - fix "searchaddpl" bug (bogus error "Bad position")
* database
- upnp: fix crash bug
* migrate to PCRE2 * migrate to PCRE2
* GCC 12 build fixes * GCC 12 build fixes
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "lib/curl/Handler.hxx" #include "lib/curl/Handler.hxx"
#include "lib/curl/Request.hxx" #include "lib/curl/Request.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "event/DeferEvent.hxx" #include "event/InjectEvent.hxx"
#include "util/IntrusiveList.hxx" #include "util/IntrusiveList.hxx"
#include <list> #include <list>
...@@ -81,7 +81,7 @@ class UPnPDeviceDirectory final : UpnpCallback { ...@@ -81,7 +81,7 @@ class UPnPDeviceDirectory final : UpnpCallback {
class Downloader final class Downloader final
: public IntrusiveListHook, CurlResponseHandler : public IntrusiveListHook, CurlResponseHandler
{ {
DeferEvent defer_start_event; InjectEvent defer_start_event;
UPnPDeviceDirectory &parent; UPnPDeviceDirectory &parent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment