fixed crash on logout

This commit is contained in:
John Preston 2014-10-08 11:45:32 +04:00
parent e0910bfb3e
commit 3009200b76

View File

@ -52,7 +52,7 @@ public:
void operator()(mtpRequestId requestId, const mtpPrime *from, const mtpPrime *end) const {
_dc->setConnectionInited();
return (*_ondone)(requestId, from, end);
if (_ondone) (*_ondone)(requestId, from, end);
}
private: