mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 02:41:35 +03:00
improves ames error exit, notes issue with ctrl-z
This commit is contained in:
parent
1497de4161
commit
66b3a98aed
@ -427,7 +427,7 @@ _ames_io_start(u3_pier* pir_u)
|
||||
uL(fprintf(uH,
|
||||
" ...perhaps you've got two copies of vere running?\n"));
|
||||
}
|
||||
exit(1);
|
||||
u3_pier_exit();
|
||||
}
|
||||
|
||||
uv_udp_getsockname(&sam_u->wax_u, (struct sockaddr *)&add_u, &add_i);
|
||||
|
@ -493,6 +493,8 @@ void
|
||||
_stop_exit(c3_i int_i)
|
||||
{
|
||||
fprintf(stderr, "\r\n[received keyboard stop signal, exiting]\r\n");
|
||||
// XX crashes if we haven't started a pier yet
|
||||
//
|
||||
u3_pier_exit();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user