mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 23:45:44 +00:00
Make all owned MTPD types immutable.
Remove custom refcounting in mtpData, use std::shared_ptr instead.
This commit is contained in:
@@ -262,7 +262,7 @@ DcId Instance::Private::mainDcId() const {
|
||||
}
|
||||
|
||||
void Instance::Private::configLoadRequest() {
|
||||
if (_configLoader) {
|
||||
if (_configLoader || true) {
|
||||
return;
|
||||
}
|
||||
_configLoader = std::make_unique<internal::ConfigLoader>(_instance, rpcDone([this](const MTPConfig &result) {
|
||||
|
Reference in New Issue
Block a user