-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add a #destroy message to (conditionally) remove project SymbolDictionaries from the system #946
Comments
Hello @dalehenrich ,
Yes, that is great idea too. Wouldn't be possible to have also an option |
There are potential problems with unloading a project with or without SymbolDictioinaries ... a user could have subclassed one of the classes in the project you are unloading or the class could be referenced in a method that remains behind. The method could be owned by a user for which the current user does not have read permission ... and many more. As I think about it it really only make sense to have the user take responsibility for cleaning up the system in the aftermath of a project unload. I will close this issue and mark it wontfix, but feel free to re-open it if you want to continue the discussion. |
Hello, @dalehenrich , I do not have permission to reopen the issue. While I understand why you are hesitant to unload it for the user automatically, I still think there should at least a warning for the user that is unloading a project. There are so many things to think of. This introduces a new error/exception surface. If the user is a SystemUser than you could check the dependencies than perhaps ask the user if they want to remove the dictionary? |
reopening ... Okay, I understand your concerns, and instead of an option, I think this probably calls for a I'll change the title of this issue and and the related JfP issue ... |
@tukanos has noted that the SymbolDictionary is not removed when the project is unloaded in this issue ...
It needs to be an option, because Rowan as no knowledge about whether or not the symbol dictionary is being used by other projects or not, however, if the user explicitly declares that they want the symbol dictionary removed when the project is unloaded, that it can be done...
The text was updated successfully, but these errors were encountered: