mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 19:30:29 +00:00
Fix assertion format specifier from previous commit.
This commit is contained in:
parent
6a887a8acf
commit
c6093cffdf
@ -338,7 +338,7 @@ static ASDisplayNodeMethodOverrides GetASDisplayNodeMethodOverrides(Class c)
|
|||||||
{
|
{
|
||||||
ASDisplayNodeAssertMainThread();
|
ASDisplayNodeAssertMainThread();
|
||||||
// Synchronous nodes may not be able to call the hierarchy notifications, so only enforce for regular nodes.
|
// Synchronous nodes may not be able to call the hierarchy notifications, so only enforce for regular nodes.
|
||||||
ASDisplayNodeAssert(_flags.synchronous || !ASInterfaceStateIncludesVisible(_interfaceState), @"Node should always be marked invisible before deallocating; interfaceState: %d, %@", _interfaceState, self);
|
ASDisplayNodeAssert(_flags.synchronous || !ASInterfaceStateIncludesVisible(_interfaceState), @"Node should always be marked invisible before deallocating; interfaceState: %lu, %@", (unsigned long)_interfaceState, self);
|
||||||
|
|
||||||
self.asyncLayer.asyncDelegate = nil;
|
self.asyncLayer.asyncDelegate = nil;
|
||||||
_view.asyncdisplaykit_node = nil;
|
_view.asyncdisplaykit_node = nil;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user