2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-29 04:57:45 +00:00

6 Commits

Author SHA1 Message Date
Arseniy Lartsev
df08fa12f9 Added a real test case with login sequence 2020-05-06 20:22:09 +02:00
Arseniy Lartsev
29ed9fa6a4 Added test framework 2020-05-06 14:00:42 +02:00
Arseniy Lartsev
974195e51a Don't hold std::unique_lock past destruction of the mutex
This was use after free when disconnecting
2020-05-03 21:53:53 +02:00
Arseniy Lartsev
d48b29f7ab Fixed possible use after free in Rx callback for good 2020-05-03 13:42:22 +02:00
Arseniy Lartsev
5b8f8d546c Hot fix: mostly prevent crash when going offline 2020-05-03 12:10:25 +02:00
Arseniy Lartsev
aa9bba1f93 Refactored handling of incoming responses and updates
Added RX queue, making it the only data structure needing mutex protection,
and moved it together with all thread-related code into separate class
2020-05-02 12:53:01 +02:00