summaryrefslogtreecommitdiff
path: root/src/pwlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pwlock.c')
-rwxr-xr-xsrc/pwlock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pwlock.c b/src/pwlock.c
index 0526e5f..a055683 100755
--- a/src/pwlock.c
+++ b/src/pwlock.c
@@ -849,8 +849,10 @@ static Eina_Bool _do_state(void *data)
} else
r = states[ad->state]._do(ad);
- if (r == ECORE_CALLBACK_CANCEL)
+ if (r == ECORE_CALLBACK_CANCEL) {
+ ecore_idler_del(ad->idler);
ad->idler = NULL;
+ }
return r;
}