Krypion17 / media-progress

Progress bar for the GNOME Media Notification
MIT License
20 stars 1 forks source link

Object .Gjs_media-progress_krypion17_progressBar_ProgressBar (0x601804720570), has been already disposed — impossible to access it. This might be #8

Open eratematand opened 3 weeks ago

eratematand commented 3 weeks ago

Logs are filled with these.

$> journalctl /usr/bin/gnome-shell

When I uninstall media-progress it stops. Ubuntu 24.04 LTS

: Object .Gjs_media-progress_krypion17_progressBar_ProgressBar (0x601804720570), has been already disposed — impossible to access it. This might be c> == Stack trace for context 0x601802a3b560 ==

0 601802b083a0 i resource:///org/gnome/shell/ui/barLevel.js:72 (191a61078420 @ 112)

                                      #1   601802b082f0 i   file:///home/xxxx/.local/share/gnome-shell/extensions/media-progress@krypion17/progressBar.js:170 (3e4daa0adba0 @ 165)
                                      #2   601802b08268 i   resource:///org/gnome/gjs/modules/esm/_timers.js:98 (8927e970600 @ 77)
                                      #3   601802b081d8 i   resource:///org/gnome/shell/ui/init.js:21 (8927e970bf0 @ 48)
Krypion17 commented 3 weeks ago

This is something I have noticed, and it is something I have tried to fix. I have narrowed it down to the setInterval function and the interval not being cleared for whatever reason. But so far, it doesn't seem to cause any actual issues. Definitely would be ideal without these errors in the logs of course.

Eldalinar commented 2 weeks ago

This crashed my shell with spam of thousands and thousands of these errors. Screenshot from 2024-06-15 15-51-34