ames: on flub, check if pending-vane-ack queue is not empty

This commit is contained in:
yosoyubik 2024-03-26 07:29:56 +01:00
parent 6e9233c1ee
commit 52648a96de

View File

@ -4585,10 +4585,12 @@
%drop sink(nax.state (~(del in nax.state) message-num.task)) %drop sink(nax.state (~(del in nax.state) message-num.task))
%done (done ok.task) %done (done ok.task)
%flub %flub
%= sink =? pending-vane-ack.state ?=(^ pending-vane-ack.state)
last-heard.state (dec last-heard.state) :: a %leave gets acked in %gall before sending the %flub,
pending-vane-ack.state ~(nap to pending-vane-ack.state) :: so %ames has already removed the pending ack from its queue
== ::
~(nap to pending-vane-ack.state)
sink(last-heard.state (dec last-heard.state))
:: ::
%hear %hear
|^ ?: ?| corked |^ ?: ?| corked