-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
semantics plugin: rename classvar Plugins -> Instances, add cleanUp
- Loading branch information
Showing
6 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
...alkExtras-Semantics.package/TalkSemanticConversationBrowserPlugin.class/class/cleanUp..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
initialize-release | ||
cleanUp: aggressive | ||
|
||
aggressive = true ifTrue: | ||
[Instances := nil]. |
2 changes: 1 addition & 1 deletion
2
...boxTalkExtras-Semantics.package/TalkSemanticConversationBrowserPlugin.class/class/for..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
accessing | ||
for: aConversationBrowser | ||
|
||
^ self plugins at: aConversationBrowser ifAbsentPut: | ||
^ self instances at: aConversationBrowser ifAbsentPut: | ||
[self newFor: aConversationBrowser] |
7 changes: 7 additions & 0 deletions
7
...lkExtras-Semantics.package/TalkSemanticConversationBrowserPlugin.class/class/instances.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
accessing | ||
instances | ||
|
||
^ Instances ifNil: | ||
[Instances := WeakKeyDictionary new. | ||
WeakArray addWeakDependent: Instances. | ||
Instances] |
7 changes: 0 additions & 7 deletions
7
...TalkExtras-Semantics.package/TalkSemanticConversationBrowserPlugin.class/class/plugins.st
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...xtras-Semantics.package/TalkSemanticConversationBrowserPlugin.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters