mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
[Minor Breaking API] Make deallocation queues more reliable (#651)
* Make our async deallocation functions take a double pointer, so we can be sure we've released before the queue drains * Make it a class property * Fix the return type * Use a locker * Improve release notes
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
ASPerformBackgroundDeallocation(_node);
|
||||
ASPerformBackgroundDeallocation(&_node);
|
||||
}
|
||||
|
||||
- (void)loadView
|
||||
|
||||
Reference in New Issue
Block a user