lib/upnp/Discovery: use InjectEvent instead of DeferEvent
Fixes regression by commit 774b4313f2
This commit is contained in:
parent
1ff8626716
commit
933a1a41e6
2
NEWS
2
NEWS
@ -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 @@
|
|||||||
#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 {
|
|||||||
class Downloader final
|
class Downloader final
|
||||||
: public IntrusiveListHook, CurlResponseHandler
|
: public IntrusiveListHook, CurlResponseHandler
|
||||||
{
|
{
|
||||||
DeferEvent defer_start_event;
|
InjectEvent defer_start_event;
|
||||||
|
|
||||||
UPnPDeviceDirectory &parent;
|
UPnPDeviceDirectory &parent;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user