fire the destroy fnuction for timers when they are removed
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
openbox/mainloop.c
→
openbox/mainloop.c
@@ -674,6 +674,8 @@ */
if (curr->del_me) { /* delete the top */ loop->timers = g_slist_delete_link(loop->timers, it); + if (curr->destroy) + curr->destroy(curr->data); g_free(curr); continue; }