Skip to content

Commit

Permalink
Add destroy function for _cssFileChooser
Browse files Browse the repository at this point in the history
Signed-off-by: Hollow Man <[email protected]>
  • Loading branch information
HollowMan6 committed Apr 18, 2021
1 parent 69de33b commit 4a9ca46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions [email protected]/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ const CustomizeIBus = GObject.registerClass(
on_destroy() {
if (this._fileChooser) this._fileChooser.destroy();
this._fileChooser = null;
if (this._cssFileChooser) this._cssFileChooser.destroy();
this._cssFileChooser = null;
}
}
);

0 comments on commit 4a9ca46

Please sign in to comment.