Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

g_source_remove: assertion 'tag > 0' failed #62

Closed
boennhoff opened this issue Dec 10, 2014 · 2 comments
Closed

g_source_remove: assertion 'tag > 0' failed #62

boennhoff opened this issue Dec 10, 2014 · 2 comments
Labels

Comments

@boennhoff
Copy link

The extension floods the system log with the following error:

gnome-session[600]: (gnome-shell:684): GLib-CRITICAL **: g_source_remove: assertion 'tag > 0' failed

Reproducible when the mouse leaves one of the taskbar icons (running apps). Swiping over the extensions area with the mouse will result in dozens of these errors.

TaskBar: 40 (installed as user)
Gnome: 3.14
System: Arch Linux

@boennhoff
Copy link
Author

Hmmm, i fixed the problem myself by adding checks for null:

Mainloop.source_remove(this.previewTimer2);
this.previewTimer2 = null;

became

if (this.previewTimer2 != null) {
    Mainloop.source_remove(this.previewTimer2)
    this.previewTimer2 = null;
}

in all found places in extension.js

Sorry, for not providing a pull request, but i got no time for that right now...

@zpydr
Copy link
Owner

zpydr commented Dec 12, 2014

Wow - This was nagging me for some time. Already updated TaskBar. Thank you very much!

@zpydr zpydr added the bug label Dec 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants