mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +03:00
ames: don't give %done on cork
Locally, %cork is guaranteed to succeed instantly. The requesting vane doesn't need an ack to safely consider the flow "closed".
This commit is contained in:
parent
e2d546c4c2
commit
0e5b3b4107
@ -3074,8 +3074,11 @@
|
||||
::
|
||||
?- -.u.cur
|
||||
%ok
|
||||
=. message-pump (give %done current.state ~)
|
||||
=? message-pump cork (give %cork ~)
|
||||
=. message-pump
|
||||
:: don't give %done for corks
|
||||
::
|
||||
?: cork (give %cork ~)
|
||||
(give %done current.state ~)
|
||||
$(current.state +(current.state))
|
||||
::
|
||||
%nack
|
||||
|
Loading…
Reference in New Issue
Block a user