khan: only plan %done if vane is present

This commit is contained in:
Jōshin 2021-12-25 21:19:25 +00:00
parent e226161d03
commit d64674c0e8
No known key found for this signature in database
GPG Key ID: A8BE5A9A521639D0

View File

@ -288,7 +288,7 @@ _khan_close_chan(u3_shan* san_u, u3_chan* can_u)
// send a close event to arvo and stop reading.
//
{
if ( c3y == kan_u->van_o ) {
u3_noun wir, cad;
wir = u3nq(c3__khan,
@ -300,8 +300,8 @@ _khan_close_chan(u3_shan* san_u, u3_chan* can_u)
u3_auto_plan(&kan_u->car_u,
u3_ovum_init(0, c3__k, wir, cad)),
0, 0, _khan_poke_bail);
u3_newt_moat_stop((u3_moat*)&can_u->mor_u, _khan_moat_free);
}
u3_newt_moat_stop((u3_moat*)&can_u->mor_u, _khan_moat_free);
}
/* _khan_moor_bail(): error callback for u3_moor.