mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 22:45:18 +01:00
19 lines
462 B
C++
19 lines
462 B
C++
/*
|
|
* This is the source code of tgnet library v. 1.1
|
|
* It is licensed under GNU GPL v. 2 or later.
|
|
* You should have received a copy of the license in this archive (see LICENSE).
|
|
*
|
|
* Copyright Nikolai Kudashov, 2015-2018.
|
|
*/
|
|
|
|
#include "ProxyCheckInfo.h"
|
|
#include "ConnectionsManager.h"
|
|
|
|
ProxyCheckInfo::~ProxyCheckInfo() {
|
|
#ifdef ANDROID
|
|
if (ptr1 != nullptr) {
|
|
jniEnv[instanceNum]->DeleteGlobalRef(ptr1);
|
|
ptr1 = nullptr;
|
|
}
|
|
#endif
|
|
}
|