mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 06:58:16 +03:00
gall: ignore reload for dead agents
Fixes a bug where even if an agent was dead, if its source was modified, then gall would still attempt a scry for its cage.
This commit is contained in:
parent
e6e0f47435
commit
1ac0465da7
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b8972fd91602b0d2cca76ade229d11aaaca0bc3c89da53c42f4f12895190b4b2
|
||||
size 13762742
|
||||
oid sha256:f24c64caed01a0cd6cfc7c82cc540ad1da0c2fd8f4e5e858bae59407e2a90c75
|
||||
size 13881546
|
||||
|
@ -580,7 +580,10 @@
|
||||
=/ yok=(unit yoke) (~(get by yokes.state) dap)
|
||||
?~ yok
|
||||
~> %slog.[0 leaf+"gall: no agent to reload: {<dap>}"]
|
||||
mo-core
|
||||
cor
|
||||
?: ?=(%| -.agent)
|
||||
~> %slog.[0 leaf+"gall: dead agent reload: {<dap>}"]
|
||||
cor
|
||||
=/ bek=beak [our q.beak.u.yok p.sign-arvo]
|
||||
=/ rag (mo-scry-agent-cage dap q.bek p.sign-arvo)
|
||||
?: ?=(%| -.rag)
|
||||
|
Loading…
Reference in New Issue
Block a user