The destroy function in the widgets.js file attempts to destroy the children of this._iconBox (this._countLbl and this._iconBox) after destroying this._iconBox, which wouldn't be possible. This results in the following error messages:
(gnome-shell:24861): Gjs-CRITICAL **: 17:04:00.378: Object St.Label (0x55a0f7fa1c60), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x55a0f604a1e0 ==
#0 55a0f7f15f70 i /home/username/.local/share/gnome-shell/extensions/donotdisturb@kylecorry31.github.io/widgets.js:204 (7fc23173c0d0 @ 97)
#1 55a0f7f15ee0 i /home/username/.local/share/gnome-shell/extensions/donotdisturb@kylecorry31.github.io/extension.js:50 (7fc231708ca0 @ 77)
#2 55a0f7f15e20 i resource:///org/gnome/shell/ui/extensionSystem.js:83 (7fc26455a0d0 @ 436)
#3 55a0f7f15da0 i resource:///org/gnome/shell/ui/extensionSystem.js:297 (7fc26455a790 @ 13)
#4 7ffe3a19e8e0 b self-hosted:261 (7fc2648c1dc0 @ 223)
#5 55a0f7f15d20 i resource:///org/gnome/shell/ui/extensionSystem.js:294 (7fc26455a550 @ 113)
(gnome-shell:24861): Clutter-CRITICAL **: 17:04:00.378: clutter_actor_destroy: assertion 'CLUTTER_IS_ACTOR (self)' failed
== Stack trace for context 0x55a0f604a1e0 ==
#0 55a0f7f15f70 i /home/username/.local/share/gnome-shell/extensions/donotdisturb@kylecorry31.github.io/widgets.js:204 (7fc23173c0d0 @ 97)
#1 55a0f7f15ee0 i /home/username/.local/share/gnome-shell/extensions/donotdisturb@kylecorry31.github.io/extension.js:50 (7fc231708ca0 @ 77)
#2 55a0f7f15e20 i resource:///org/gnome/shell/ui/extensionSystem.js:83 (7fc26455a0d0 @ 436)
#3 55a0f7f15da0 i resource:///org/gnome/shell/ui/extensionSystem.js:297 (7fc26455a790 @ 13)
#4 7ffe3a19e8e0 b self-hosted:261 (7fc2648c1dc0 @ 223)
#5 55a0f7f15d20 i resource:///org/gnome/shell/ui/extensionSystem.js:294 (7fc26455a550 @ 113)
(gnome-shell:24861): Gjs-CRITICAL **: 17:04:00.378: Object St.Icon (0x55a0f80d5d90), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x55a0f604a1e0 ==
#0 55a0f7f15f70 i /home/username/.local/share/gnome-shell/extensions/donotdisturb@kylecorry31.github.io/widgets.js:206 (7fc23173c0d0 @ 128)
#1 55a0f7f15ee0 i /home/username/.local/share/gnome-shell/extensions/donotdisturb@kylecorry31.github.io/extension.js:50 (7fc231708ca0 @ 77)
#2 55a0f7f15e20 i resource:///org/gnome/shell/ui/extensionSystem.js:83 (7fc26455a0d0 @ 436)
#3 55a0f7f15da0 i resource:///org/gnome/shell/ui/extensionSystem.js:297 (7fc26455a790 @ 13)
#4 7ffe3a19e8e0 b self-hosted:261 (7fc2648c1dc0 @ 223)
#5 55a0f7f15d20 i resource:///org/gnome/shell/ui/extensionSystem.js:294 (7fc26455a550 @ 113)
(gnome-shell:24861): Clutter-CRITICAL **: 17:04:00.379: clutter_actor_destroy: assertion 'CLUTTER_IS_ACTOR (self)' failed
== Stack trace for context 0x55a0f604a1e0 ==
#0 55a0f7f15f70 i /home/username/.local/share/gnome-shell/extensions/donotdisturb@kylecorry31.github.io/widgets.js:206 (7fc23173c0d0 @ 128)
#1 55a0f7f15ee0 i /home/username/.local/share/gnome-shell/extensions/donotdisturb@kylecorry31.github.io/extension.js:50 (7fc231708ca0 @ 77)
#2 55a0f7f15e20 i resource:///org/gnome/shell/ui/extensionSystem.js:83 (7fc26455a0d0 @ 436)
#3 55a0f7f15da0 i resource:///org/gnome/shell/ui/extensionSystem.js:297 (7fc26455a790 @ 13)
#4 7ffe3a19e8e0 b self-hosted:261 (7fc2648c1dc0 @ 223)
#5 55a0f7f15d20 i resource:///org/gnome/shell/ui/extensionSystem.js:294 (7fc26455a550 @ 113)
These messages appear when running "gnome-shell --replace" in the Terminal. I am using Gnome Shell 3.30
The destroy function in the widgets.js file attempts to destroy the children of this._iconBox (this._countLbl and this._iconBox) after destroying this._iconBox, which wouldn't be possible. This results in the following error messages:
These messages appear when running "gnome-shell --replace" in the Terminal. I am using Gnome Shell 3.30