mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 13:51:50 +03:00
fine: more straightforwardly cancel keen timer
When +ke-abet-gone gets called, we're going to remove this keen entirely. +ke-set-wake does a whole song-and-dance and may even set a new timer. So instead, we simply call +ke-rest, if we have a known outstanding timer.
This commit is contained in:
parent
0251b127e1
commit
9e3bcf14c1
@ -2641,7 +2641,8 @@
|
||||
==
|
||||
::
|
||||
++ ke-abet-gone
|
||||
=. ke-core ke-set-wake
|
||||
=? ke-core ?=(^ next-wake.keen)
|
||||
(ke-rest u.next-wake.keen)
|
||||
=. keens.scry
|
||||
+:(del:orm keens.scry keen-id)
|
||||
=. order.scry
|
||||
|
Loading…
Reference in New Issue
Block a user