Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Conversation

@StanleyGoldman
Copy link
Contributor

@StanleyGoldman StanleyGoldman commented Nov 27, 2017

Fixes: #444

Cache events are raised on the main thread. Therefore we do not need to shuffle delegates through the task system to make sure they are executed on the main thread. This is just slowing things down.

All cache events are raised from the main thread, so this shuffling of
delegates to make sure they are on the main thread is redundant.
@StanleyGoldman StanleyGoldman changed the title Removing the shuffling of event handling to the main thread Cache events are raised on the main thread Nov 27, 2017
@StanleyGoldman StanleyGoldman mentioned this pull request Nov 27, 2017
15 tasks
Copy link

@drguthals drguthals left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Very straight forward.

@StanleyGoldman StanleyGoldman merged commit 6dcf5c3 into master Nov 27, 2017
@StanleyGoldman StanleyGoldman deleted the fixes/cache-events-on-main-thread branch November 27, 2017 20:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants