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

Guard removals of morphs in layouts #1467

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Guard removals of morphs in layouts #1467

merged 1 commit into from
Nov 13, 2023

Conversation

jecisc
Copy link
Member

@jecisc jecisc commented Oct 28, 2023

We have a lot of crashes in the Pharo CI because of the UI. @MarcusDenker removed a catch to let us find the root of the problems. We found out that a test end up trying to remove a presenter from a layout but the presenter has no adapter. Guille told us that it was probably because in non interactive things might happens in different order because of the different threads.

Here I'm adding nil guards to prevent those crashes (around 1/3 of each Pharo build end up crashing because of this)

I don't know if this is a good solution to fix the root of the problem, but I have no idea how to fix better.

I also removed some methods that just called super methods

We have a lot of crashes in the Pharo CI because a test end up trying to remove a presenter from a layout but the presenter has no adapter. 
Guille told us that it was probably because in non interactive things might happens in different order because of the different threads. 

Here I'm adding nil guards to prevent those crashes (around 1/3 of each Pharo build end up crashing because of this)

I don't know if this is a good solution to fix the root of the problem, but I have no idea how to fix better.

I also removed some methods that just called super methods
@estebanlm estebanlm merged commit a3c8db3 into Pharo12 Nov 13, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants