summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/mt_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-12-14 19:20:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-12-14 19:20:21 +0300
commitb1991e51d5c53383e4cf2bb8fc1830eef7ed20b8 (patch)
treeb66a7440187ad9680c6e476f77b835a2cbb1e156 /protocols/Telegram/src/mt_proto.cpp
parente96460d6ec66dd02a32e9667333b3f2e418519f8 (diff)
fixes #3264 (Telegram: учётка не удаляется из настроек)
Diffstat (limited to 'protocols/Telegram/src/mt_proto.cpp')
-rw-r--r--protocols/Telegram/src/mt_proto.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Telegram/src/mt_proto.cpp b/protocols/Telegram/src/mt_proto.cpp
index 90e6e9c68f..3550329e45 100644
--- a/protocols/Telegram/src/mt_proto.cpp
+++ b/protocols/Telegram/src/mt_proto.cpp
@@ -60,6 +60,11 @@ void CMTProto::OnModulesLoaded()
}
}
+void CMTProto::OnShutdown()
+{
+ m_bTerminated = true;
+}
+
void CMTProto::OnErase()
{
DeleteDirectoryTreeW(GetProtoFolder(), false);