Review of "Auto Day/Night Theme Switch [DEPRECATED]" version 1

Details Page Preview

Automatically switch themes depending on the time of the day NOTE: Deprecated for GNOME > 3.36, please use Night Theme Switcher instead

Extension Homepage
https://github.com/Darazaki/AutoDayNightThemeSwitch

No comments.

FAQ

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

All Versions

Version Status
2 Active
1 Active

Previous Reviews on this Version

andyholmes active
It would be much better to disconnect any signals you connect, rather than hoping the garbage collector can break any reference cycles it encounters.
Darazaki posted a review
Understood and thank you for your review! After using `disconnect`, is it okay to keep doing `settings = null` or should I leave those references alive?
andyholmes posted a review
Yes, setting global variables to `null` is a good idea, since the garbage collector will know to immediately collect them. Otherwise that won't happen until they are overwritten in `setupExtensionSettings()`, etc.
Darazaki posted a review
Ok makes sense, it should be an easy fix then. Thank you very much!