Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Morphic code runs outside UI process #238

Closed
marceltaeumel opened this issue Aug 6, 2019 · 0 comments
Closed

Morphic code runs outside UI process #238

marceltaeumel opened this issue Aug 6, 2019 · 0 comments

Comments

@marceltaeumel
Copy link
Contributor

It is unsafe to trigger a self changed: #aspect in tool models outside the Morphic UI process. Occasionally, bugs like this happen:

grafik

Find a better way to compute the data and then sync that self changed.: #commitList into the UI process like this:

commitListBuildProcess := 
	[aHistoryWalker continueDo: [:each | anOrderedCollection add: each].
	cachedCommitList := anOrderedCollection.
	Project current addDeferredUIMessage: [self changed: #commitList] ]
		forkAt: Processor userBackgroundPriority
		named: self class name, ' commit list builder'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants