Rusty Russell
c6ec9443b9
jsonrpc: don't return "stop" until we actually have freed resources.
...
This is a painpoint with testing, that there's a noticable delay between
"Shutting down" from lightning-cli and being able to restart lightningd.
This fixes that by creating a canned response for this case, which is
simply written out immediately before exit. At this point, the pidfile
has been deleted, the sockets have been closed, and the database
has been closed.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2019-06-12 02:00:15 +00:00
..
2019-06-12 02:00:15 +00:00
2017-10-20 18:31:32 +02:00
2019-04-03 03:06:06 +00:00
2018-09-19 13:21:21 +02:00
2019-06-12 02:00:15 +00:00
2019-01-29 04:50:01 +00:00
2019-06-07 10:34:34 +02:00
2019-06-04 01:29:39 +00:00
2018-08-23 14:46:22 +02:00
2019-06-08 02:58:27 +00:00
2019-06-08 02:58:27 +00:00
2019-06-08 02:58:27 +00:00
2019-06-04 01:29:39 +00:00
2019-06-12 02:00:15 +00:00
2019-04-09 12:37:16 -07:00
2019-06-12 02:00:15 +00:00
2018-07-25 02:13:52 +00:00
2019-06-11 23:19:11 +00:00
2019-06-11 23:19:11 +00:00
2019-04-09 12:37:16 -07:00
2019-04-09 12:37:16 -07:00
2019-04-10 23:48:39 +00:00
2019-04-10 23:48:39 +00:00
2019-06-12 02:00:15 +00:00
2019-04-12 03:32:48 +00:00
2019-05-31 17:57:10 +02:00
2019-05-31 17:57:10 +02:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-06-07 01:23:51 +00:00
2018-02-07 00:46:49 +00:00
2019-06-12 02:00:15 +00:00
2019-06-07 01:23:51 +00:00
2019-06-12 02:00:15 +00:00
2019-06-12 02:00:15 +00:00
2019-02-07 20:33:50 +00:00
2019-06-07 01:23:51 +00:00
2019-06-07 01:23:51 +00:00
2019-06-08 02:58:27 +00:00
2018-04-25 14:33:38 +02:00
2019-06-12 02:00:15 +00:00
2019-06-04 01:29:39 +00:00
2019-06-12 02:00:15 +00:00
2018-11-13 00:44:50 +01:00
2019-06-12 02:00:15 +00:00
2019-01-23 22:08:08 +01:00
2019-06-12 02:00:15 +00:00
2019-06-04 01:29:39 +00:00
2019-06-12 02:00:15 +00:00
2019-04-12 03:32:48 +00:00
2019-06-12 02:00:15 +00:00
2018-09-14 22:11:23 +02:00
2019-05-31 18:36:38 +02:00
2019-04-23 15:26:42 +02:00
2019-06-12 02:00:15 +00:00
2019-05-31 18:36:38 +02:00
2019-06-04 01:29:39 +00:00
2019-06-04 01:29:39 +00:00
2019-05-27 13:29:32 +02:00
2018-08-21 00:48:02 +02:00