-
Notifications
You must be signed in to change notification settings - Fork 3
Be layers list thread safe #135
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
Conversation
| (self layers includes: aLayer) ifTrue: [ ^ self ]. | ||
| self configureLayer: aLayer. | ||
|
|
||
| self mutex criticalReleasingOnError:[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix name here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OUPS
| anUserObject ifNil: [ ^ self ]. | ||
|
|
||
| self layers do: [ :e | | ||
| self mutex criticalReleasingOnError:[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix name here
|
|
||
| self layers do: [ :e | | ||
| e haveDomainObjects ifTrue: [ e addObjects: anUserObjectList ] ] | ||
| self mutex criticalReleasingOnError:[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix name here
|
|
||
| "inject the projection to all layers" | ||
| self layers do:[ :l | l graphicProjection: displayToGraphicProjection ]. | ||
| self mutex criticalReleasingOnError:[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix name here
| (self layers includes: aLayer) ifFalse: [ ^ self ]. | ||
| self unconfigureLayer: aLayer. | ||
| self layers remove: aLayer. | ||
| self mutex criticalReleasingOnError:[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix name here
|
|
||
| self layers do: [ :e | | ||
| e haveDomainObjects ifTrue: [ e removeObject: anUserObject ] ] | ||
| self mutex criticalReleasingOnError:[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix name here
| self mutex criticalReleasingOnError:[ | ||
| self layers do: [ :e | | ||
| e haveDomainObjects ifTrue: [ e removeObjects: anUserObjectList ] ] | ||
| ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix name here
| aContext ifNil:[ ^ self ]. | ||
| self layers ifEmpty: [ ^ self ]. | ||
|
|
||
| self mutex criticalReleasingOnError:[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
etc.
No description provided.