From 4a5d2e255822af5caa0c8c049da5cddb42bfaad3 Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Sun, 30 Oct 2022 08:28:13 +0300 Subject: [PATCH] Correctly initialize torrent stop condition PR #17950. --- src/base/bittorrent/torrentimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/torrentimpl.h b/src/base/bittorrent/torrentimpl.h index bc0b5db86..1ac355bce 100644 --- a/src/base/bittorrent/torrentimpl.h +++ b/src/base/bittorrent/torrentimpl.h @@ -337,7 +337,7 @@ namespace BitTorrent bool m_hasFirstLastPiecePriority = false; bool m_useAutoTMM; bool m_isStopped; - StopCondition m_stopCondition; + StopCondition m_stopCondition = StopCondition::None; bool m_unchecked = false;