Skip to content

Conversation

janoshrubos
Copy link
Contributor

PR Checklist

What is the current behavior?

projectData gets re-initialized over and over again and the cache has no effect.

What is the new behavior?

Initialize projectData only if it hasn't been initialized yet.

Fixes #5398

@cla-bot cla-bot bot added the cla: yes label Jan 19, 2021
@rigor789 rigor789 merged commit 27c2f0c into NativeScript:master Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimize ProjectDataService.getProjectData()

2 participants