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

LEAK-REF 18.0 - AccountPanel drag n drop locking references to closed datasets #101

Open
yogi1967 opened this issue Oct 3, 2023 · 0 comments
Assignees
Labels
memory leak object references which should be let go upon garbage collection. Medium priority

Comments

@yogi1967
Copy link
Collaborator

yogi1967 commented Oct 3, 2023

When you invoke drag n drop (e.g. drop a new extension on to the Main window), then the book ref gets stuck as AccountPanel is referred to by TransferHandler… or something..?

name in com.infinitekind.moneydance.model.AccountBook#1
book in com.moneydance.apps.md.view.gui.AccountPanel#1
component in javax.swing.TransferHandler$ TransferSupport#1
support in javax.swing. TransferHandler$ DropHandler#1
dtListener in javax.swing. TransferHandler$ Swing Drop Target# 1 [GC root - JNI global]

It seems to be a static reference in SwingDropTarget

The last drag n drop holds the ref.

If you drag and drop in the open dataset, it releases the old dataset…

@yogi1967 yogi1967 added the memory leak object references which should be let go upon garbage collection. Medium priority label Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
memory leak object references which should be let go upon garbage collection. Medium priority
Projects
None yet
Development

No branches or pull requests

2 participants