mirror of
https://github.com/transmission/transmission
synced 2024-12-31 20:16:57 +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* 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 */
|
||||
tr_port private_peer_port;
|
||||
|
||||
|
@ -891,6 +888,10 @@ private:
|
|||
|
||||
std::string announce_ip_;
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue