mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 05:22:27 +03:00
drum: update app index early when unlinking
The added logic also happens in +se-drop, which will get called by +se-abet if we did unlink an application. But +se-agon depends on the index being sane, and may be called between +se-klin and +se-abet.
This commit is contained in:
parent
cd125fc71f
commit
a124c747b7
@ -564,7 +564,12 @@
|
||||
::
|
||||
++ se-klin :: disconnect app
|
||||
|= gyl=gill:gall
|
||||
+>(eel (~(del in eel) gyl))
|
||||
=/ gil=(unit gill:gall) se-agon
|
||||
=. eel (~(del in eel) gyl)
|
||||
?~ gil +>.$
|
||||
?: =(gyl u.gil)
|
||||
+>.$(inx 0)
|
||||
(se-alas u.gil)
|
||||
::
|
||||
++ se-link :: connect to app
|
||||
|= gyl=gill:gall
|
||||
|
Loading…
Reference in New Issue
Block a user