kylecorry31 / gnome-shell-extension-do-not-disturb

Enable or disable do not disturb mode on Pop!_OS
MIT License
17 stars 5 forks source link

clutter_actor_remove_child assertion fails when removing this._iconBox from this._indicatorArea #37

Closed ArtyomZorin closed 5 years ago

ArtyomZorin commented 5 years ago

The parent of this._iconBox may not always exist when attempting to run the code to remove it from this._indicatorArea, resulting in this error message when switching on Do Not Disturb mode and when disabling the extension:

clutter_actor_remove_child: assertion 'child->priv->parent != NULL' failed

This message appears when running "gnome-shell --replace" in the Terminal. I am using Gnome Shell 3.30