[SF#823] Fix crash on action on task which was deleted while task menu is opened.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sun, 23 Oct 2016 17:42:50 +0000 (20:42 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sun, 23 Oct 2016 17:42:50 +0000 (20:42 +0300)
commit6840d25386ec2908c110aeefca47275ef709376f
treee7a81301a7654fbedc6d58ea0a492ccaa2909e30
parentdb677d66e329961eb11cce7574b76f5d55fd81ad
[SF#823] Fix crash on action on task which was deleted while task menu is opened.

This does not happen if task button has only task - it will be deleted and
menu attached to task button destroyed. Although if task button has few tasks
then while task is already deleted from task button, list of tasks still have
it so menu actions can be requested (for not existing now window), so crash.
Remove menu item from list should solve the issue.
ChangeLog
TODO
plugins/task-button.c