[ASImageNode] Remove thread affinity dispatches

This commit is contained in:
Adlai Holler 2016-02-20 12:26:09 -08:00
parent d9fc11f0f2
commit 2a94d88b4b

View File

@ -123,11 +123,8 @@
if (!ASObjectIsEqual(_image, image)) {
_image = image;
ASDN::MutexUnlocker u(_imageLock);
ASPerformBlockOnMainThread(^{
[self invalidateCalculatedLayout];
[self setNeedsDisplay];
});
[self invalidateCalculatedLayout];
[self setNeedsDisplay];
}
}