This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository e16.
View the commit online.
commit 286a815b9269d54c857ec7bdb69de93773bcf334
Author: Kim Woelders <[email protected]>
AuthorDate: Fri Oct 28 22:26:28 2022 +0200
timers: Fix potential lockup when switching desks fast
Not sure exactly why - probably some nested timer calls - but this seems
to fix the problem.
---
src/timers.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/timers.c b/src/timers.c
index 361dca5c..883ed001 100644
--- a/src/timers.c
+++ b/src/timers.c
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
- * Copyright (C) 2006-2019 Kim Woelders
+ * Copyright (C) 2006-2022 Kim Woelders
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@@ -141,6 +141,7 @@ TimersRun(unsigned int t_ms)
for (timer = q_old; timer; timer = q_old)
{
q_old = timer->next;
+ timer->next = NULL;
if (timer->again)
{
timer->at_time += timer->in_time;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.