Automatically switch themes depending on the time of the day NOTE: Deprecated for GNOME > 3.36, please use Night Theme Switcher instead
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Version | Status |
---|---|
2 | Active |
1 | 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.
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?
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.
Ok makes sense, it should be an easy fix then. Thank you very much!