mirror of
https://github.com/transmission/transmission
synced 2025-01-03 21:45:49 +00:00
fix: close all timers before destroying the event loop (#3679)
This commit is contained in:
parent
aac1ab784d
commit
7dd55b64e1
1 changed files with 4 additions and 3 deletions
|
@ -476,9 +476,6 @@ public:
|
||||||
struct event* udp_event = nullptr;
|
struct event* udp_event = nullptr;
|
||||||
struct event* udp6_event = nullptr;
|
struct event* udp6_event = nullptr;
|
||||||
|
|
||||||
struct struct_utp_context* utp_context = nullptr;
|
|
||||||
std::unique_ptr<libtransmission::Timer> utp_timer;
|
|
||||||
|
|
||||||
/* The open port on the local machine for incoming peer requests */
|
/* The open port on the local machine for incoming peer requests */
|
||||||
tr_port private_peer_port;
|
tr_port private_peer_port;
|
||||||
|
|
||||||
|
@ -891,6 +888,10 @@ private:
|
||||||
|
|
||||||
std::string announce_ip_;
|
std::string announce_ip_;
|
||||||
bool announce_ip_enabled_ = false;
|
bool announce_ip_enabled_ = false;
|
||||||
|
|
||||||
|
public:
|
||||||
|
struct struct_utp_context* utp_context = nullptr;
|
||||||
|
std::unique_ptr<libtransmission::Timer> utp_timer;
|
||||||
};
|
};
|
||||||
|
|
||||||
constexpr bool tr_isPriority(tr_priority_t p)
|
constexpr bool tr_isPriority(tr_priority_t p)
|
||||||
|
|
Loading…
Reference in a new issue