fix memory leak in extensions (#229)

This commit is contained in:
TautCony 2023-10-10 17:03:29 +08:00 committed by GitHub
parent 7dfe62b96d
commit 99e6c5a733
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 16 deletions

View file

@ -18,7 +18,7 @@ public class SettingsComponent {
private final YouServiceSelectionPanel youServiceSelectionPanel;
public SettingsComponent(Disposable parentDisposable, SettingsState settings) {
serviceSelectionForm = new ServiceSelectionForm(settings);
serviceSelectionForm = new ServiceSelectionForm(parentDisposable, settings);
displayNameField = new JBTextField(settings.getDisplayName(), 20);
youServiceSelectionPanel = new YouServiceSelectionPanel(parentDisposable);
mainPanel = FormBuilder.createFormBuilder()